From faf50f3b8be117e5cc1401e9ee019742164ac0c7 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 31 Jan 2017 16:47:35 +0100 Subject: [PATCH] fix leak --- src/types/num_exp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/types/num_exp.c b/src/types/num_exp.c index 65a3a5b..aba5288 100644 --- a/src/types/num_exp.c +++ b/src/types/num_exp.c @@ -494,6 +494,9 @@ token_t psi_num_exp_exec(struct psi_num_exp *exp, impl_val *res, } } + psi_plist_free(output); + psi_plist_free(input); + *res = entry.data.value; return entry.type; } -- 2.30.2