mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 09:02:38 +00:00
vf: Free MP_IMGTYPE_NUMBERED buffers too
When this newest type of buffers was added, needed code to free objects of this type when closing the filter had been omitted.
This commit is contained in:
parent
b05d9ead6d
commit
82bbf1a1ab
@ -749,6 +749,8 @@ void vf_uninit_filter(vf_instance_t* vf){
|
||||
free_mp_image(vf->imgctx.static_images[1]);
|
||||
free_mp_image(vf->imgctx.temp_images[0]);
|
||||
free_mp_image(vf->imgctx.export_images[0]);
|
||||
for (int i = 0; i < NUM_NUMBERED_MPI; i++)
|
||||
free_mp_image(vf->imgctx.numbered_images[i]);
|
||||
free(vf);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user