diff --git a/src/util/src/tutil.c b/src/util/src/tutil.c index e0dcb0aa3f22c8eadd4f30c75c9fa6e7bced1727..ee7795863af2e7fa5927a968a41cae1b85df0e3e 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); } }