From 12d7acf6f609aa6f2a3eca89504445e354aadd53 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Thu, 29 Mar 2012 17:21:53 +0200 Subject: [PATCH] flacenc: plug ref leak --- ext/flac/gstflacenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index 2883ebb209..d45fc14070 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -860,6 +860,7 @@ gst_flac_enc_seek_callback (const FLAC__StreamEncoder * encoder, if (!seekable) { GST_DEBUG_OBJECT (flacenc, "downstream not seekable; not rewriting"); + gst_object_unref (peerpad); return FLAC__STREAM_ENCODER_SEEK_STATUS_UNSUPPORTED; }