cvs: pecl /apc apc_compile.c
| From: | Gopal Vijayaraghavan | Date: | Fri, 02 May 2008 14:33:35 +0000 |
| Subject: | cvs: pecl /apc apc_compile.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10689@lists.php.net to get a copy of this message | ||
gopalv Fri May 2 14:33:35 2008 UTC
Modified files:
/pecl/apc apc_compile.c
Log:
fix double free of builtin_functions
http://cvs.php.net/viewvc.cgi/pecl/apc/apc_compile.c?r1=3.95&r2=3.96&diff_format=u
Index: pecl/apc/apc_compile.c
diff -u pecl/apc/apc_compile.c:3.95 pecl/apc/apc_compile.c:3.96
--- pecl/apc/apc_compile.c:3.95 Fri May 2 14:25:48 2008
+++ pecl/apc/apc_compile.c Fri May 2 14:33:35 2008
@@ -28,7 +28,7 @@
*/
-/* $Id: apc_compile.c,v 3.95 2008/05/02 14:25:48 gopalv Exp $ */
+/* $Id: apc_compile.c,v 3.96 2008/05/02 14:33:35 gopalv Exp $ */
#include "apc_compile.h"
#include "apc_globals.h"
@@ -813,7 +813,7 @@
allocate, deallocate)) {
int ii;
- for(ii=i-1; i>=0; i--)
my_destroy_function_entry((zend_function_entry*)(&dst->builtin_functions[ii]), deallocate);
+ for(ii=i-1; ii>=0; ii--)
my_destroy_function_entry((zend_function_entry*)(&dst->builtin_functions[ii]), deallocate);
goto cleanup;
}
}