com php-src: Revert "fix leak in 5.6": ext/session/mod_files .c
| From: | Ferenc Kovacs | Date: | Tue, 02 Feb 2016 23:58:31 +0000 |
| Subject: | com php-src: Revert "fix leak in 5.6": ext/session/mod_files .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90918@lists.php.net to get a copy of this message | ||
Commit: 5cb08dde9320c2ea178bc748314f85fff8b9d37f
Author: Anatol Belski <ab@php.net> Fri, 29 Jan 2016 20:33:39 +0100
Committer: Ferenc Kovacs <tyrael@php.net> Wed, 3 Feb 2016 00:58:31 +0100
Parents: 9a4bd51a93b3c74f88436cd4ad5aebf0eaa1dc52
Branches: PHP-5.6.18
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5cb08dde9320c2ea178bc748314f85fff8b9d37f
Log:
Revert "fix leak in 5.6"
This reverts commit fa548e5ca9b275ac383cadddde0f4e6d9a806f24.
Changed paths:
M ext/session/mod_files.c
Diff:
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c
index 06659e3..7e37381 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;
}