From: Michael Wallner Date: Tue, 31 Jan 2017 15:47:35 +0000 (+0100) Subject: fix leak X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=commitdiff_plain;h=faf50f3b8be117e5cc1401e9ee019742164ac0c7 fix leak --- 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; }