com php-src: - Fixed bug #61594 (ext/session/mod_mm.c: missing free of ps_mm_instance) patch by: jlawall at hotmail dot com: ext/session/mod_mm .c
| From: | Felipe Pena | Date: | Mon, 24 Jun 2013 19:49:15 +0000 |
| Subject: | com php-src: - Fixed bug #61594 (ext/session/mod_mm.c: missing free of ps_mm_instance) patch by: jlawall at hotmail dot com: ext/session/mod_mm .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-72480@lists.php.net to get a copy of this message | ||
Commit: 982c11573dd23d3070dfdd149e4ef1a5a1d14dab
Author: Felipe Pena <felipensp@gmail.com> Mon, 24 Jun 2013 16:49:15 -0300
Parents: d43a2f0ffb669971d8c549554e9e85cbcdd90f20
Branches: PHP-5.4 PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=982c11573dd23d3070dfdd149e4ef1a5a1d14dab
Log:
- Fixed bug #61594 (ext/session/mod_mm.c: missing free of ps_mm_instance) patch by: jlawall at
hotmail dot com
Bugs:
https://bugs.php.net/61594
Changed paths:
M ext/session/mod_mm.c
Diff:
diff --git a/ext/session/mod_mm.c b/ext/session/mod_mm.c
index e5406d0..e0d16d1 100644
--- a/ext/session/mod_mm.c
+++ b/ext/session/mod_mm.c
@@ -271,6 +271,8 @@ PHP_MINIT_FUNCTION(ps_mm)
}
if (!(euid_len = slprintf(euid, sizeof(euid), "%d", geteuid()))) {
+ free(ps_mm_instance);
+ ps_mm_instance = NULL;
return FAILURE;
}