提交 067ee44b 编写于 作者: H Haojun Liao

[TD-225]

上级 0f63a29b
...@@ -199,7 +199,8 @@ void taosArrayDestroyEx(SArray* pArray, void (*fp)(void*)) { ...@@ -199,7 +199,8 @@ void taosArrayDestroyEx(SArray* pArray, void (*fp)(void*)) {
} }
if (fp == NULL) { if (fp == NULL) {
return taosArrayDestroy(pArray); taosArrayDestroy(pArray);
return;
} }
for(int32_t i = 0; i < pArray->size; ++i) { for(int32_t i = 0; i < pArray->size; ++i) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册