diff options
| author | Ben Fuhrmannek | 2021-08-03 15:36:40 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-08-03 15:36:40 +0200 |
| commit | 238c363b48a9189ad3f1df80cc330e01aed09cb4 (patch) | |
| tree | f204a28e4b77c40ede98b61f487bc8dee7a007c2 /src | |
| parent | ef7072a631ad96def3299c92e5569658ac306b2c (diff) | |
fixed incorrect use of free()/efree()
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp_utils.c | 2 |
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 | ||
