]> granicus.if.org Git - php/commitdiff
Fixed wrong deallocation
authorDmitry Stogov <dmitry@php.net>
Fri, 4 May 2007 16:51:18 +0000 (16:51 +0000)
committerDmitry Stogov <dmitry@php.net>
Fri, 4 May 2007 16:51:18 +0000 (16:51 +0000)
Zend/zend_API.c

index 6d169e19392940dec411a39518a7f80406592907..7e7fac2cd1c15f73e34f7138b89358d7d12dce9b 100644 (file)
@@ -2170,7 +2170,7 @@ ZEND_API int zend_register_functions(zend_class_entry *scope, zend_function_entr
        }
        if (unload) { /* before unloading, display all remaining bad function in the module */
                if (scope) {
-                       free_alloca(lc_class_name.v);
+                       efree(lc_class_name.v);
                }
                while (ptr->fname) {
                        if (zend_hash_exists(target_function_table, ptr->fname, strlen(ptr->fname)+1)) {