capsfilter: Fix typo in last commit
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 9 May 2013 07:38:35 +0000 (09:38 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 9 May 2013 07:38:35 +0000 (09:38 +0200)
plugins/elements/gstcapsfilter.c

index ea11886..db4bf1b 100644 (file)
@@ -341,7 +341,7 @@ gst_capsfilter_prepare_buf (GstBaseTransform * trans, GstBuffer * input,
           ("Output caps are unfixed: %s", caps_str));
 
       g_free (caps_str);
-      g_list_free_full (pending_events, (GDestroyNotify) pending_events);
+      g_list_free_full (pending_events, (GDestroyNotify) gst_event_unref);
 
       ret = GST_FLOW_ERROR;
     }