pulsesink: fix caps leak in acceptcaps function
authorTim-Philipp Müller <tim@centricular.net>
Sat, 20 Oct 2012 10:32:27 +0000 (11:32 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 20 Oct 2012 10:32:27 +0000 (11:32 +0100)
ext/pulse/pulsesink.c

index 63d361a..85c488a 100644 (file)
@@ -2088,6 +2088,7 @@ out:
 
   pa_threaded_mainloop_unlock (mainloop);
 
+  gst_caps_replace (&spec.caps, NULL);
   gst_object_unref (pbuf);
 
 done: