Skip to content

Commit

Permalink
Use free instead of efree
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed May 21, 2012
1 parent bbcea23 commit 4c9a11c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_multibyte.c
Expand Up @@ -168,7 +168,7 @@ ZEND_API const zend_encoding *zend_multibyte_get_script_encoding(TSRMLS_D)
ZEND_API int zend_multibyte_set_script_encoding(const zend_encoding **encoding_list, size_t encoding_list_size TSRMLS_DC)
{
if (CG(script_encoding_list)) {
efree(CG(script_encoding_list));
free(CG(script_encoding_list));
}
CG(script_encoding_list) = encoding_list;
CG(script_encoding_list_size) = encoding_list_size;
Expand Down

0 comments on commit 4c9a11c

Please sign in to comment.