mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 02:32:23 +00:00
pyramidsegment: Release memory storage when finalizing
This commit is contained in:
parent
7b63bd6348
commit
45ac4ba663
1 changed files with 2 additions and 2 deletions
|
@ -125,11 +125,11 @@ gst_pyramid_segment_finalize (GObject * obj)
|
||||||
cvReleaseImage (&filter->cvSegmentedImage);
|
cvReleaseImage (&filter->cvSegmentedImage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cvReleaseMemStorage (&filter->storage);
|
||||||
|
|
||||||
G_OBJECT_CLASS (gst_pyramid_segment_parent_class)->finalize (obj);
|
G_OBJECT_CLASS (gst_pyramid_segment_parent_class)->finalize (obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* initialize the pyramidsegment's class */
|
/* initialize the pyramidsegment's class */
|
||||||
static void
|
static void
|
||||||
gst_pyramid_segment_class_init (GstPyramidSegmentClass * klass)
|
gst_pyramid_segment_class_init (GstPyramidSegmentClass * klass)
|
||||||
|
|
Loading…
Reference in a new issue