Browse Source

Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  oops, 5.4 and 5.5 use malloc in TSRM
PHP-5.5.13
Stanislav Malyshev 12 years ago
parent
commit
cf2b9955d4
  1. 4
      ext/bz2/bz2.c

4
ext/bz2/bz2.c

@ -230,7 +230,7 @@ PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper,
if (php_check_open_basedir(path_copy TSRMLS_CC)) {
#ifdef VIRTUAL_DIR
efree(path_copy);
free(path_copy);
#endif
return NULL;
}
@ -242,7 +242,7 @@ PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper,
*opened_path = estrdup(path_copy);
}
#ifdef VIRTUAL_DIR
efree(path_copy);
free(path_copy);
#endif
path_copy = NULL;

Loading…
Cancel
Save