summaryrefslogtreecommitdiff
path: root/ext/spl/php_spl.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2014-02-28 22:44:50 +0800
committerXinchen Hui <laruence@gmail.com>2014-02-28 22:47:24 +0800
commit0680cdb4ac1c78b24be4433441b21c1f1fa348e6 (patch)
tree2c34ccc7b89f8ca308bdf65cf27776b258391208 /ext/spl/php_spl.c
parent2a826609233526d9ad5b015323395e132b7accf6 (diff)
downloadphp-git-0680cdb4ac1c78b24be4433441b21c1f1fa348e6.tar.gz
Fixed refcount handling
Diffstat (limited to 'ext/spl/php_spl.c')
-rw-r--r--ext/spl/php_spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
index 8674645924..64cfd7b55d 100644
--- a/ext/spl/php_spl.c
+++ b/ext/spl/php_spl.c
@@ -284,7 +284,7 @@ static int spl_autoload(zend_string *class_name, zend_string *lc_name, const cha
new_op_array = NULL;
zend_file_handle_dtor(&file_handle TSRMLS_CC);
}
- STR_FREE(opened_path);
+ STR_RELEASE(opened_path);
if (new_op_array) {
EG(active_op_array) = new_op_array;
if (!EG(active_symbol_table)) {