aboutsummaryrefslogtreecommitdiff
path: root/src/4D_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/4D_api.cpp')
-rw-r--r--src/4D_api.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/4D_api.cpp b/src/4D_api.cpp
index d0b2748e..81e16600 100644
--- a/src/4D_api.cpp
+++ b/src/4D_api.cpp
@@ -1365,6 +1365,7 @@ static char *path_append (char *buf, const char *app, size_t *buf_size) {
pj_dealloc (buf);
buf = p;
}
+ assert(buf);
/* Only append a semicolon if something's already there */
if (0 != buflen)