dtlsdec: Fix memory leak on dispose
authorJose Antonio Santos Cadenas <santoscadenas@gmail.com>
Wed, 13 May 2015 14:06:52 +0000 (16:06 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 13 May 2015 16:12:32 +0000 (19:12 +0300)
Parent dispose function was not called

https://bugzilla.gnome.org/show_bug.cgi?id=749322

ext/dtls/gstdtlsdec.c

index 0881a8f..9e7d847 100644 (file)
@@ -246,6 +246,8 @@ gst_dtls_dec_dispose (GObject * object)
     g_object_unref (self->connection);
     self->connection = NULL;
   }
+
+  G_OBJECT_CLASS (parent_class)->dispose (object);
 }
 
 static void