From 238c363b48a9189ad3f1df80cc330e01aed09cb4 Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Tue, 3 Aug 2021 15:36:40 +0200 Subject: fixed incorrect use of free()/efree() --- src/sp_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_utils.c') diff --git a/src/sp_utils.c b/src/sp_utils.c index 5f25920..5483618 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c @@ -437,7 +437,7 @@ bool hook_function(const char* original_name, HashTable* hook_table, if (zend_hash_str_find(CG(function_table), VAR_AND_LEN(mb_name))) { return hook_function(mb_name, hook_table, new_function); } - free(mb_name); + efree(mb_name); // LCOV_EXCL_STOP } -- cgit v1.3