Fix memory leak.
This commit is contained in:
parent
9fdfe76804
commit
cfea07531d
@ -147,7 +147,7 @@ char* compile_gensplit(tSyntaxElement* se, char* operator) {
|
||||
if (token->next->type == TOKEN)
|
||||
string_append(&result,token->next->content.string);
|
||||
else
|
||||
string_append(&result,compile_expression_wrapped(token->next));
|
||||
string_append_free(&result,compile_expression_wrapped(token->next));
|
||||
|
||||
if (token->next->next != NULL) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user