From: Tim-Philipp Müller Date: Sat, 20 Oct 2012 10:32:27 +0000 (+0100) Subject: pulsesink: fix caps leak in acceptcaps function X-Git-Tag: 1.19.3~509^2~6440 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ab46eff8345fa64c8bf9897a4c50b55b389108e;p=platform%2Fupstream%2Fgstreamer.git pulsesink: fix caps leak in acceptcaps function --- diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c index 63d361a..85c488a 100644 --- a/ext/pulse/pulsesink.c +++ b/ext/pulse/pulsesink.c @@ -2088,6 +2088,7 @@ out: pa_threaded_mainloop_unlock (mainloop); + gst_caps_replace (&spec.caps, NULL); gst_object_unref (pbuf); done: