From 2f78acb42a1527768c6f4114ed3064c1e640c6b7 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Fri, 13 Jan 2012 11:22:21 +0000 Subject: [PATCH] cogmse: fix possible buffer leak --- ext/cog/gstcogmse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/cog/gstcogmse.c b/ext/cog/gstcogmse.c index 8a17e8fe8a..6b6ecf8d65 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 *