segmentation: Release memory storage in finalize

This commit is contained in:
Sebastian Dröge 2014-06-30 00:22:22 +02:00
parent d5e7c7bffe
commit e77a93f6a8

View file

@ -360,6 +360,8 @@ gst_segmentation_release_all_pointers (GstSegmentation * filter)
cvReleaseImage (&filter->ch2);
cvReleaseImage (&filter->ch3);
cvReleaseMemStorage (&filter->mem_storage);
g_free (filter->TcodeBook);
finalise_mog (filter);
}