com php-src: improve the fix: ext/session/mod_user.c
| From: | Xinchen Hui | Date: | Tue, 14 Aug 2012 16:25:06 +0000 |
| Subject: | com php-src: improve the fix: ext/session/mod_user.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69831@lists.php.net to get a copy of this message | ||
Commit: b2fe342d04d6a7ef5b56a55723e2d2b975a8622e
Author: Xinchen Hui <laruence@php.net> Wed, 15 Aug 2012 00:25:06 +0800
Parents: da3660a4c42cb90c8d5626ac1da71c1201f98d4b
Branches: PHP-5.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b2fe342d04d6a7ef5b56a55723e2d2b975a8622e
Log:
improve the fix
Changed paths:
M ext/session/mod_user.c
Diff:
diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c
index 41a63fc..7fe147b 100644
--- a/ext/session/mod_user.c
+++ b/ext/session/mod_user.c
@@ -114,8 +114,6 @@ PS_CLOSE_FUNC(user)
PS(mod_user_implemented) = 0;
} zend_end_try();
- PS(mod_user_implemented) = 0;
-
if (bailout) {
if (retval) {
zval_ptr_dtor(&retval);
@@ -123,6 +121,8 @@ PS_CLOSE_FUNC(user)
zend_bailout();
}
+ PS(mod_user_implemented) = 0;
+
FINISH;
}