projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
various: fix pad template leaks
[platform/upstream/gstreamer.git]
/
sys
/
oss4
/
oss4-source.c
diff --git
a/sys/oss4/oss4-source.c
b/sys/oss4/oss4-source.c
index
9331f80
..
bb64593
100644
(file)
--- a/
sys/oss4/oss4-source.c
+++ b/
sys/oss4/oss4-source.c
@@
-115,6
+115,7
@@
gst_oss4_source_base_init (gpointer g_class)
templ = gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS,
gst_oss4_audio_get_template_caps ());
gst_element_class_add_pad_template (element_class, templ);
+ gst_object_unref (templ);
}
static void