fix leak
authorMichael Wallner <mike@php.net>
Tue, 31 Jan 2017 15:47:35 +0000 (16:47 +0100)
committerMichael Wallner <mike@php.net>
Tue, 31 Jan 2017 15:54:35 +0000 (16:54 +0100)
src/types/num_exp.c

index 65a3a5b8bfa66e7fa410db57084dc95acecc223d..aba528853b6ec4f7208ee8c18089d3365bb20106 100644 (file)
@@ -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;
 }