Fix some ZTS issues and leaks

This commit is contained in:
Nikita Popov 2014-04-10 13:50:25 +02:00
parent c6eba25571
commit f449b04713
5 changed files with 10 additions and 3 deletions

View file

@ -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;
}