未验证 提交 7fd66c21 编写于 作者: Y Yang Zhao 提交者: GitHub

[TD-10881]<fix>taosdemo -x --time-step 100 Segmentation fault(master) (#8619)

* [TD-10881]<fix>taosdemo -x Segmentation fault

* fix param parse

* fix free position
上级 72157572
......@@ -12239,7 +12239,6 @@ static void testCmdLine() {
if (g_Dbs.aggr_func) {
queryAggrFunc();
}
postFreeResource();
}
int main(int argc, char *argv[]) {
......@@ -12281,6 +12280,7 @@ int main(int argc, char *argv[]) {
if (g_dupstr)
free(g_dupstr);
}
postFreeResource();
return 0;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册