cvs: pecl(APC_3_0) /apc apc_compile.c
| From: | Gopal Vijayaraghavan | Date: | Fri, 02 May 2008 14:36:38 +0000 |
| Subject: | cvs: pecl(APC_3_0) /apc apc_compile.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10690@lists.php.net to get a copy of this message | ||
gopalv Fri May 2 14:36:38 2008 UTC
Modified files: (Branch: APC_3_0)
/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.87.2.6&r2=3.87.2.7&diff_format=u
Index: pecl/apc/apc_compile.c
diff -u pecl/apc/apc_compile.c:3.87.2.6 pecl/apc/apc_compile.c:3.87.2.7
--- pecl/apc/apc_compile.c:3.87.2.6 Fri May 2 14:20:12 2008
+++ pecl/apc/apc_compile.c Fri May 2 14:36:38 2008
@@ -28,7 +28,7 @@
*/
-/* $Id: apc_compile.c,v 3.87.2.6 2008/05/02 14:20:12 gopalv Exp $ */
+/* $Id: apc_compile.c,v 3.87.2.7 2008/05/02 14:36:38 gopalv Exp $ */
#include "apc_compile.h"
#include "apc_globals.h"
@@ -886,7 +886,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;
}
}