fix leak, fix build in previous change
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1164 c26eb9a1-5813-0410-bd6c-c2e55f420ca73.0
parent
dc3a352d3d
commit
2597d64562
2
xcache.c
2
xcache.c
|
@ -584,6 +584,7 @@ static int xc_incompatible_zend_extension_startup_hook(zend_extension *extension
|
|||
int status;
|
||||
zend_bool catched = 0;
|
||||
zend_llist old_zend_extensions = zend_extensions;
|
||||
TSRMLS_FETCH();
|
||||
|
||||
/* restore */
|
||||
extension->startup = incompatible_zend_extension_info->old_startup;
|
||||
|
@ -606,6 +607,7 @@ static int xc_incompatible_zend_extension_startup_hook(zend_extension *extension
|
|||
} zend_end_try();
|
||||
|
||||
/* restore */
|
||||
zend_llist_remove_tail(&zend_extensions);
|
||||
zend_extensions = old_zend_extensions;
|
||||
if (catched) {
|
||||
zend_bailout();
|
||||
|
|
Loading…
Reference in New Issue