cvs: pecl /apc apc_compile.c
| From: | Gopal Vijayaraghavan | Date: | Thu, 12 Oct 2006 20:25:44 +0000 |
| Subject: | cvs: pecl /apc apc_compile.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-6485@lists.php.net to get a copy of this message | ||
gopalv Thu Oct 12 20:25:44 2006 UTC
Modified files:
/pecl/apc apc_compile.c
Log:
Fix double free in class cleanup
http://cvs.php.net/viewvc.cgi/pecl/apc/apc_compile.c?r1=3.60&r2=3.61&diff_format=u
Index: pecl/apc/apc_compile.c
diff -u pecl/apc/apc_compile.c:3.60 pecl/apc/apc_compile.c:3.61
--- pecl/apc/apc_compile.c:3.60 Thu Sep 21 14:24:44 2006
+++ pecl/apc/apc_compile.c Thu Oct 12 20:25:44 2006
@@ -28,7 +28,7 @@
*/
-/* $Id: apc_compile.c,v 3.60 2006/09/21 14:24:44 gopalv Exp $ */
+/* $Id: apc_compile.c,v 3.61 2006/10/12 20:25:44 gopalv Exp $ */
#include "apc_compile.h"
#include "apc_globals.h"
@@ -857,7 +857,7 @@
if(dst->properties_info.arBuckets) my_destroy_hashtable(&dst->properties_info,
(ht_free_fun_t) my_free_property_info, deallocate);
if(dst->default_static_members.arBuckets)
{
- my_destroy_hashtable(dst->static_members, (ht_free_fun_t) my_free_zval_ptr, deallocate);
+ my_destroy_hashtable(&dst->default_static_members, (ht_free_fun_t) my_free_zval_ptr,
deallocate);
}
if(dst->static_members && dst->static_members !=
&(dst->default_static_members))
{