Skip to content

Commit a72cd07

Browse files
committed
Fixed bug #68665 (Invalid free)
1 parent 83e5547 commit a72cd07

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/fileinfo/libmagic/apprentice.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,6 @@ apprentice_load(struct magic_set *ms, const char *fn, int action)
11971197
if ((filearr = CAST(char **,
11981198
erealloc(filearr, mlen))) == NULL) {
11991199
file_oomem(ms, mlen);
1200-
efree(mfn);
12011200
php_stream_closedir(dir);
12021201
errs++;
12031202
goto out;

0 commit comments

Comments
 (0)