Skip to content

Commit

Permalink
fixed incorrect use of free()/efree()
Browse files Browse the repository at this point in the history
  • Loading branch information
bef committed Aug 3, 2021
1 parent ef7072a commit 238c363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sp_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 238c363

Please sign in to comment.