diff --git a/src/compile.c b/src/compile.c index 86b957e..2344d2b 100644 --- a/src/compile.c +++ b/src/compile.c @@ -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) {