--- embedaddon/php/ext/session/mod_mm.c 2013/07/22 01:32:00 1.1.1.3 +++ embedaddon/php/ext/session/mod_mm.c 2013/10/14 08:02:30 1.1.1.4 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mod_mm.c,v 1.1.1.3 2013/07/22 01:32:00 misho Exp $ */ +/* $Id: mod_mm.c,v 1.1.1.4 2013/10/14 08:02:30 misho Exp $ */ #include "php.h" @@ -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; }