diff options
author | Xinchen Hui <laruence@php.net> | 2012-08-15 01:25:31 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2012-08-15 01:25:31 +0800 |
commit | 1a527397cc5cf6d745205c21d7e34a9e789189f1 (patch) | |
tree | 2bf8e47a2a67339a783d86c59ca266b5e0c46e1e /ext/session/mod_user.c | |
parent | 6bafbb9abf3d5050f732fa263b188f0089c52b0e (diff) | |
download | php-git-1a527397cc5cf6d745205c21d7e34a9e789189f1.tar.gz |
better fix & this test pass now
Diffstat (limited to 'ext/session/mod_user.c')
-rw-r--r-- | ext/session/mod_user.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c index e18e826ceb..84a28d3427 100644 --- a/ext/session/mod_user.c +++ b/ext/session/mod_user.c @@ -111,9 +111,10 @@ PS_CLOSE_FUNC(user) retval = ps_call_handler(PSF(close), 0, NULL TSRMLS_CC); } zend_catch { bailout = 1; - PS(mod_user_implemented) = 0; } zend_end_try(); + PS(mod_user_implemented) = 0; + if (bailout) { if (retval) { zval_ptr_dtor(&retval); @@ -121,8 +122,6 @@ PS_CLOSE_FUNC(user) zend_bailout(); } - PS(mod_user_implemented) = 0; - FINISH; } |