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:
Uoti Urpala
2009-09-18 07:36:32 +03:00
parent b05d9ead6d
commit 82bbf1a1ab
+2
View File
@@ -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);
}