]> granicus.if.org Git - php/commitdiff
Revert "fix yet another leak"
authorAnatol Belski <ab@php.net>
Fri, 29 Jan 2016 19:58:00 +0000 (20:58 +0100)
committerAnatol Belski <ab@php.net>
Fri, 29 Jan 2016 19:58:00 +0000 (20:58 +0100)
This reverts commit 39084ccc689397a11de4d231fe8629549d66ce73.

ext/session/mod_files.c

index 99687f1efc551d899e7761baae4da9f598eaa7ac..e2a63036db04b00ff23e0b328ddf8006f7b6201b 100644 (file)
@@ -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;
                }