summaryrefslogtreecommitdiff
path: root/sys/dshowdecwrapper/gstdshowaudiodec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dshowdecwrapper/gstdshowaudiodec.cpp')
-rw-r--r--sys/dshowdecwrapper/gstdshowaudiodec.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dshowdecwrapper/gstdshowaudiodec.cpp b/sys/dshowdecwrapper/gstdshowaudiodec.cpp
index f10ac8cdc..bd4bd6496 100644
--- a/sys/dshowdecwrapper/gstdshowaudiodec.cpp
+++ b/sys/dshowdecwrapper/gstdshowaudiodec.cpp
@@ -349,6 +349,9 @@ gst_dshowaudiodec_base_init (gpointer klass)
/* register */
gst_element_class_add_pad_template (element_class, src);
gst_element_class_add_pad_template (element_class, sink);
+
+ gst_object_unref (src);
+ gst_object_unref (sink);
}
static void