summaryrefslogtreecommitdiff
path: root/ext/session/mod_mm.c
diff options
context:
space:
mode:
authorFelipe Pena <felipensp@gmail.com>2013-06-24 16:49:15 -0300
committerFelipe Pena <felipensp@gmail.com>2013-06-24 16:49:15 -0300
commit982c11573dd23d3070dfdd149e4ef1a5a1d14dab (patch)
tree3327bf5ae72a7711c17e7c8f534b0f80cfbf05f6 /ext/session/mod_mm.c
parentd43a2f0ffb669971d8c549554e9e85cbcdd90f20 (diff)
downloadphp-git-982c11573dd23d3070dfdd149e4ef1a5a1d14dab.tar.gz
- Fixed bug #61594 (ext/session/mod_mm.c: missing free of ps_mm_instance) patch by: jlawall at hotmail dot com
Diffstat (limited to 'ext/session/mod_mm.c')
-rw-r--r--ext/session/mod_mm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/session/mod_mm.c b/ext/session/mod_mm.c
index e5406d0bcb..e0d16d1924 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;
}