tests: Don't forget to unref the newsegment event
authorEdward Hervey <bilboed@bilboed.com>
Thu, 1 Apr 2010 11:19:06 +0000 (13:19 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 1 Apr 2010 11:19:06 +0000 (13:19 +0200)
tests/check/libs/basesrc.c

index d318014..dbff6ce 100644 (file)
@@ -588,6 +588,7 @@ GST_START_TEST (basesrc_seek_events_rate_update)
   gst_pad_remove_event_probe (probe_pad, probe);
   gst_object_unref (probe_pad);
   gst_message_unref (msg);
+  gst_event_unref (newseg_event);
   gst_object_unref (bus);
   gst_object_unref (pipe);
 }