mirror of
https://github.com/libretro/FFmpeg.git
synced 2026-11-13 17:39:29 -10:00
avfilter picture pool: double free hotfix
This fix introduces a small memleak Signed-off-by: Michael Niedermayer <[email protected]>
This commit is contained in:
1 parent
6cbe81999b
commit
90c6963dae
1 file changed
+3
-2
@@ -182,10 +182,11 @@ void avfilter_link_free(AVFilterLink **link)
|
||||
|
||||
av_freep(&picref->audio);
|
||||
av_freep(&picref->video);
|
||||
av_freep(&picref);
|
||||
av_freep(&(*link)->pool->pic[i]);
|
||||
}
|
||||
}
|
||||
av_freep(&(*link)->pool);
|
||||
(*link)->pool->count = 0;
|
||||
// av_freep(&(*link)->pool);
|
||||
}
|
||||
av_freep(link);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user