Commit:    982c11573dd23d3070dfdd149e4ef1a5a1d14dab
Author:    Felipe Pena <felipe...@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;
        }


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to