summaryrefslogtreecommitdiff
path: root/ext/flac/gstflacenc.c
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-03-29 17:21:53 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-03-29 17:21:53 +0200
commit12d7acf6f609aa6f2a3eca89504445e354aadd53 (patch)
treeeb6686fce8cc3df43b7f1507329d5b76cf7d2e85 /ext/flac/gstflacenc.c
parent62d6c00ac9d0bb34343fb36e4e886b470bb3d899 (diff)
flacenc: plug ref leak
Diffstat (limited to 'ext/flac/gstflacenc.c')
-rw-r--r--ext/flac/gstflacenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c
index 2883ebb20..d45fc1407 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;
}