mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
opencv: fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=672295
This commit is contained in:
parent
6f3ea8e67b
commit
0fad58c123
1 changed files with 2 additions and 0 deletions
|
@ -122,6 +122,8 @@ gst_opencv_video_filter_finalize (GObject * obj)
|
||||||
|
|
||||||
if (transform->cvImage)
|
if (transform->cvImage)
|
||||||
cvReleaseImage (&transform->cvImage);
|
cvReleaseImage (&transform->cvImage);
|
||||||
|
if (transform->out_cvImage)
|
||||||
|
cvReleaseImage (&transform->out_cvImage);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (obj);
|
G_OBJECT_CLASS (parent_class)->finalize (obj);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue