segmentation: Release memory storage in finalize
This commit is contained in:
parent
d5e7c7bffe
commit
e77a93f6a8
@ -360,6 +360,8 @@ gst_segmentation_release_all_pointers (GstSegmentation * filter)
|
|||||||
cvReleaseImage (&filter->ch2);
|
cvReleaseImage (&filter->ch2);
|
||||||
cvReleaseImage (&filter->ch3);
|
cvReleaseImage (&filter->ch3);
|
||||||
|
|
||||||
|
cvReleaseMemStorage (&filter->mem_storage);
|
||||||
|
|
||||||
g_free (filter->TcodeBook);
|
g_free (filter->TcodeBook);
|
||||||
finalise_mog (filter);
|
finalise_mog (filter);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user