gst-plugins-bad: opencv: fix missing finalize chaining to parent class

Vincent Penquerc'h vincent at kemper.freedesktop.org
Mon Jan 16 09:11:20 PST 2012


Module: gst-plugins-bad
Branch: master
Commit: 1dfbb14be51f60eafe8e9fc8abf7ac2fd3ea1c2d
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=1dfbb14be51f60eafe8e9fc8abf7ac2fd3ea1c2d

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Mon Jan 16 17:02:22 2012 +0000

opencv: fix missing finalize chaining to parent class

Not compiled, I do not have the necessary dependencies.

---

 ext/opencv/gsttemplatematch.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ext/opencv/gsttemplatematch.c b/ext/opencv/gsttemplatematch.c
index 5699782..6568a8b 100644
--- a/ext/opencv/gsttemplatematch.c
+++ b/ext/opencv/gsttemplatematch.c
@@ -294,6 +294,8 @@ gst_template_match_finalize (GObject * object)
   if (filter->cvTemplateImage) {
     cvReleaseImage (&filter->cvTemplateImage);
   }
+
+  GST_CALL_PARENT (G_OBJECT_CLASS, finalize, (object));
 }
 
 /* chain function



More information about the gstreamer-commits mailing list