From 982c11573dd23d3070dfdd149e4ef1a5a1d14dab Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Mon, 24 Jun 2013 16:49:15 -0300 Subject: [PATCH] - 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 | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.50.1