summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst/siren/gstsirenenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/siren/gstsirenenc.c b/gst/siren/gstsirenenc.c
index 96ccdabe..aedcb996 100644
--- a/gst/siren/gstsirenenc.c
+++ b/gst/siren/gstsirenenc.c
@@ -234,6 +234,8 @@ gst_siren_enc_chain (GstPad *pad, GstBuffer *buf)
ret = gst_pad_push (enc->srcpad, encoded);
+ gst_object_unref (enc);
+
return ret;
}