From 75435ff3aaa01693ae38f910a536b679c90505fc Mon Sep 17 00:00:00 2001 From: Xuefer Date: Tue, 8 Feb 2011 09:13:27 +0000 Subject: [PATCH] fix --disable-xcache-constant git-svn-id: svn://svn.lighttpd.net/xcache/trunk@702 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- ChangeLog | 1 + NEWS | 1 + xcache.c | 2 ++ 3 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8aee033..f3eca14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ ChangeLog ======== * fix win32 build against win32 native gnu tools * compatibility fix: fix segv on shutdown when ionCube Loader is loaded + * build fix for --disable-xcache-constant 1.3.1 2010-11-27 ======== diff --git a/NEWS b/NEWS index 66b596c..fa07e5e 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ ======== * win32 build fix * improve compatibility with ionCube Loader + * other minor fixes 1.3.1 2010-11-27 ======== diff --git a/xcache.c b/xcache.c index f1bbb64..1b92c65 100644 --- a/xcache.c +++ b/xcache.c @@ -1646,9 +1646,11 @@ static zend_op_array *xc_compile_restore(xc_entry_t *stored_xce, zend_file_handl catched = 1; } zend_end_try(); +#ifdef HAVE_XCACHE_CONSTANT if (php.constinfos) { efree(php.constinfos); } +#endif if (php.funcinfos) { efree(php.funcinfos); }