未验证 提交 77f2784f 编写于 作者: S slguan 提交者: GitHub

Merge pull request #890 from taosdata/feature/fangstatic

Feature/fangstatic
...@@ -106,6 +106,7 @@ char **strsplit(char *z, const char *delim, int32_t *num) { ...@@ -106,6 +106,7 @@ char **strsplit(char *z, const char *delim, int32_t *num) {
if ((*num) >= size) { if ((*num) >= size) {
size = (size << 1); size = (size << 1);
split = realloc(split, POINTER_BYTES * size); split = realloc(split, POINTER_BYTES * size);
assert(NULL != split);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册