summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2013-03-01 15:00:11 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2013-03-01 15:00:11 +0000
commit87d7a0f91065b89f3d3c8f0b23b5274b2e9b4d3e (patch)
tree0af0d4e52dd5cf15d49a8d1393f3ba80dc46047c
parente2af84a9ab3acfb5c64d9934381e01382786604a (diff)
pulsesink: fix caps leak in acceptcaps function
-rw-r--r--ext/pulse/pulsesink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c
index 5751d5747..3da6231d3 100644
--- a/ext/pulse/pulsesink.c
+++ b/ext/pulse/pulsesink.c
@@ -2171,6 +2171,8 @@ out:
pa_stream_unref (stream);
}
+ gst_caps_replace (&spec.caps, NULL);
+
pa_threaded_mainloop_unlock (mainloop);
done: