summaryrefslogtreecommitdiff
path: root/gst/siren/gstsirenenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/siren/gstsirenenc.c')
-rw-r--r--gst/siren/gstsirenenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/siren/gstsirenenc.c b/gst/siren/gstsirenenc.c
index aedcb996c..b0049729d 100644
--- a/gst/siren/gstsirenenc.c
+++ b/gst/siren/gstsirenenc.c
@@ -153,6 +153,7 @@ gst_siren_enc_dispose (GObject *object)
Siren7_CloseEncoder (enc->encoder);
enc->encoder = NULL;
}
+
if (enc->adapter) {
g_object_unref (enc->adapter);
enc->adapter = NULL;