Browse Source

fix leak, fix build in previous change

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1164 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
2597d64562
  1. 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…
Cancel
Save