com php-src: Revert "fix yet another leak": ext/session/mod_f iles.c
| From: | Anatol Belski | Date: | Fri, 29 Jan 2016 19:58:00 +0000 |
| Subject: | com php-src: Revert "fix yet another leak": ext/session/mod_f iles.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90816@lists.php.net to get a copy of this message | ||
Commit: 3d90531d1eab2db2e9d4a24b3fa02b58bd78d6e2
Author: Anatol Belski <ab@php.net> Fri, 29 Jan 2016 20:58:00 +0100
Parents: d1d3c0832ecb8b71abe1c569b4e663433bffc0db
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3d90531d1eab2db2e9d4a24b3fa02b58bd78d6e2
Log:
Revert "fix yet another leak"
This reverts commit 39084ccc689397a11de4d231fe8629549d66ce73.
Changed paths:
M ext/session/mod_files.c
Diff:
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c
index 99687f1..e2a6303 100644
--- a/ext/session/mod_files.c
+++ b/ext/session/mod_files.c
@@ -175,7 +175,6 @@ static void ps_files_open(ps_files *data, const char *key)
data->basedir = NULL;
data->basedir_len = 0;
}
- efree(data);
php_error_docref(NULL, E_WARNING, "The session id is too long or contains illegal
characters, valid characters are a-z, A-Z, 0-9 and '-,'");
return;
}