resindvd: Don't leak a reference to the parent in rsnaudiomunge
authorJan Schmidt <thaytan@noraisin.net>
Tue, 13 Oct 2009 12:05:50 +0000 (13:05 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Tue, 13 Oct 2009 14:10:09 +0000 (15:10 +0100)
Don't leak a reference to the pad parent in the sink pad event handler
in rsnaudiomunge.

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

ext/resindvd/rsnaudiomunge.c

index fda2a96b96ddcb2e0f84a97dee10881fc937536b..715bd62b3ff63a05c6eed489470b42b1f433b535 100644 (file)
@@ -359,6 +359,7 @@ rsn_audiomunge_sink_event (GstPad * pad, GstEvent * event)
       break;
   }
 
+  gst_object_unref (munge);
   return ret;
 
 newseg_wrong_format: