Skip to content

Commit 39084cc

Browse files
committedJan 29, 2016
fix yet another leak
1 parent eae5914 commit 39084cc

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)
Please sign in to comment.