Skip to content

Commit

Permalink
Merge pull request #209 from alibaba/expression_function_bugfix
Browse files Browse the repository at this point in the history
修复同时使用多个函数时crash的问题
  • Loading branch information
biezhihua authored Sep 8, 2022
2 parents b337075 + 94d4c77 commit 52575be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions GaiaXAnalyze/GXAnalyzeCore/GXAnalyze.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,7 @@ long GXAnalyze::check(string s, vector<GXATSNode> array, void *p_analyze, void *
}
--valueSize;
isFunction = false;
paramsSize = 0;
if (fun->tag == GX_TAG_STRING && fun->str != NULL) {
delete[] fun->str;
fun->str = NULL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,7 @@ long GXAnalyze::check(string s, vector<GXATSNode> array, void *p_analyze, void *
}
--valueSize;
isFunction = false;
paramsSize = 0;
if (fun->tag == GX_TAG_STRING && fun->str != NULL) {
delete[] fun->str;
fun->str = NULL;
Expand Down

0 comments on commit 52575be

Please sign in to comment.