mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Fixed bug #68665 (Invalid free)
This commit is contained in:
parent
83e5547827
commit
a72cd07f29
@ -1197,7 +1197,6 @@ apprentice_load(struct magic_set *ms, const char *fn, int action)
|
||||
if ((filearr = CAST(char **,
|
||||
erealloc(filearr, mlen))) == NULL) {
|
||||
file_oomem(ms, mlen);
|
||||
efree(mfn);
|
||||
php_stream_closedir(dir);
|
||||
errs++;
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user