From: Anatol Belski Date: Fri, 29 Jan 2016 19:33:39 +0000 (+0100) Subject: Revert "fix leak in 5.6" X-Git-Tag: php-7.0.4RC1~20^2~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40b9f52c2c30d20ab0ac851772cc377b435af590;p=php Revert "fix leak in 5.6" This reverts commit fa548e5ca9b275ac383cadddde0f4e6d9a806f24. --- diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index 06659e3487..7e373812d7 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -361,18 +361,6 @@ PS_READ_FUNC(files) } if (!PS(id)) { - if (data) { - if (data->lastkey) { - efree(data->lastkey); - data->lastkey = NULL; - } - if (data->basedir) { - efree(data->basedir); - data->basedir = NULL; - } - efree(data); - *mod_data = NULL; - } return FAILURE; }