Fixed bug #68665 (Invalid free)

This commit is contained in:
Anatol Belski 2014-12-28 13:58:01 +01:00
parent 83e5547827
commit a72cd07f29

View File

@ -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;