diff options
author | Dmitry Stogov <dmitry@php.net> | 2009-03-24 16:35:53 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2009-03-24 16:35:53 +0000 |
commit | 343bcc26abe0433842cd3f94cb3bd086ebe48da7 (patch) | |
tree | bf55636f5d116f3ebf09e7afc51baa5b5f636983 | |
parent | 4658d9408b9614d1e298f3c02bc17ac62f638249 (diff) | |
download | php-git-343bcc26abe0433842cd3f94cb3bd086ebe48da7.tar.gz |
Fixed double efree()
-rw-r--r-- | Zend/zend_API.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 96315fb7b8..4c81080841 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1929,7 +1929,6 @@ ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_functio fname_len = strlen(ptr->fname); lowercase_name = zend_str_tolower_dup(ptr->fname, fname_len); if (zend_hash_exists(target_function_table, lowercase_name, fname_len+1)) { - efree(lowercase_name); zend_error(error_type, "Function registration failed - duplicate name - %s%s%s", scope ? scope->name : "", scope ? "::" : "", ptr->fname); } efree(lowercase_name); |