summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-13 11:22:21 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-13 11:22:21 +0000
commit2f78acb42a1527768c6f4114ed3064c1e640c6b7 (patch)
tree1608971f8fc1e100c6b39108f830be3c68d8e670 /ext
parent525a995569f318609f23e36a37115e6be8f848f9 (diff)
cogmse: fix possible buffer leak
Diffstat (limited to 'ext')
-rw-r--r--ext/cog/gstcogmse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/cog/gstcogmse.c b/ext/cog/gstcogmse.c
index 8a17e8fe8..6b6ecf8d6 100644
--- a/ext/cog/gstcogmse.c
+++ b/ext/cog/gstcogmse.c
@@ -208,6 +208,7 @@ gst_mse_finalize (GObject * object)
gst_object_unref (fs->sinkpad_test);
g_mutex_free (fs->lock);
g_cond_free (fs->cond);
+ gst_buffer_replace (&fs->buffer_ref, NULL);
}
static GstCaps *