diff --git a/src/util/src/tutil.c b/src/util/src/tutil.c index 016ce1bb55dfa764e58d0ddf08587abb4ee39bfe..a10bf8bf8c2c3cf83906392aa69a78bcba180ace 100644 --- a/src/util/src/tutil.c +++ b/src/util/src/tutil.c @@ -106,6 +106,7 @@ char **strsplit(char *z, const char *delim, int32_t *num) { if ((*num) >= size) { size = (size << 1); split = realloc(split, POINTER_BYTES * size); + assert(NULL != split); } }