Skip to content

Commit f1dc4a4

Browse files
committed
Merge branch 'PHP-7.0'
* PHP-7.0: fix yet another leak
2 parents 6a2a4e4 + 39084cc commit f1dc4a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/session/mod_files.c

+1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ static void ps_files_open(ps_files *data, const char *key)
175175
data->basedir = NULL;
176176
data->basedir_len = 0;
177177
}
178+
efree(data);
178179
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 '-,'");
179180
return;
180181
}

0 commit comments

Comments
 (0)