aboutsummaryrefslogtreecommitdiffstats
path: root/src/expressions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expressions.c')
-rw-r--r--src/expressions.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/expressions.c b/src/expressions.c
index c1cd8c0bd..e706fc938 100644
--- a/src/expressions.c
+++ b/src/expressions.c
@@ -277,6 +277,9 @@ parse_expression (memory_pool_t *pool, char *line)
insert_expression (pool, &expr, EXPR_OPERATION, op, NULL);
}
}
+ if (stack) {
+ op = delete_expression_stack (&stack);
+ }
}
else if (*p == '(') {
/* Push it to stack */