summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Fuhrmannek2021-08-03 15:36:40 +0200
committerBen Fuhrmannek2021-08-03 15:36:40 +0200
commit238c363b48a9189ad3f1df80cc330e01aed09cb4 (patch)
treef204a28e4b77c40ede98b61f487bc8dee7a007c2
parentef7072a631ad96def3299c92e5569658ac306b2c (diff)
fixed incorrect use of free()/efree()
-rw-r--r--src/sp_utils.c2
1 files changed, 1 insertions, 1 deletions
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,
437 if (zend_hash_str_find(CG(function_table), VAR_AND_LEN(mb_name))) { 437 if (zend_hash_str_find(CG(function_table), VAR_AND_LEN(mb_name))) {
438 return hook_function(mb_name, hook_table, new_function); 438 return hook_function(mb_name, hook_table, new_function);
439 } 439 }
440 free(mb_name); 440 efree(mb_name);
441 // LCOV_EXCL_STOP 441 // LCOV_EXCL_STOP
442 } 442 }
443 443