mirror of https://github.com/FFmpeg/FFmpeg.git
libswscale/utils.c: Fix bug #8255
Bug #8255 points out a double free error in libwscale/utils.c file. The double free is because the pointer to cascaded_context of an sw_context is not set to NULL after freeing it. When the sw_context is later freed, sws_freeContext is called on the cascaded_context, causing a double free. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>pull/343/head
parent
5c151e1491
commit
da399e2135
1 changed files with 1 additions and 0 deletions
Loading…
Reference in new issue