summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2014-04-11 12:34:06 +0800
committerXinchen Hui <laruence@gmail.com>2014-04-11 12:34:06 +0800
commit12470b4092cc2626d8e90653269fae042bfeed6a (patch)
treeb809650e44d3f93cb82ee1ddca90021a99662981 /Zend/zend_builtin_functions.c
parent27f7f342ee782e6e2f212eed861b2623e4675cb5 (diff)
parent91ed685e26e0f2e6501ac3c7b49199080bfc47f0 (diff)
downloadphp-git-12470b4092cc2626d8e90653269fae042bfeed6a.tar.gz
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r--Zend/zend_builtin_functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index b75343936c..0cafa71f97 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -1149,7 +1149,7 @@ ZEND_FUNCTION(method_exists)
&& memcmp(lcname->val, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1) == 0) ? 1 : 0);
STR_FREE(lcname);
- STR_FREE(func->common.function_name);
+ STR_RELEASE(func->common.function_name);
efree(func);
return;
}