mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
segmentation: Release memory storage in finalize
This commit is contained in:
parent
d5e7c7bffe
commit
e77a93f6a8
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue