|
|
|
@ -231,7 +231,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); |
|
|
|
efree(path_copy); |
|
|
|
#endif |
|
|
|
return NULL; |
|
|
|
} |
|
|
|
@ -243,7 +243,7 @@ PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, |
|
|
|
*opened_path = estrdup(path_copy); |
|
|
|
} |
|
|
|
#ifdef VIRTUAL_DIR |
|
|
|
efree(path_copy); |
|
|
|
efree(path_copy); |
|
|
|
#endif |
|
|
|
path_copy = NULL; |
|
|
|
|
|
|
|
|