diff --git a/ChangeLog b/ChangeLog index c29a597a7e..861c5e6c23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-30 Edward Hervey + + * ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind): + Go away you stupid GstStaticPadTemplate memleak. + 2005-11-30 Thomas Vander Stichele * gst-libs/gst/net/Makefile.am: diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index d428596f2b..d8b8bf0239 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -651,6 +651,7 @@ gst_ogg_pad_typefind (GstOggPad * pad, ogg_packet * packet) gst_pad_set_chain_function (pad->elem_out, gst_ogg_pad_internal_chain); gst_pad_set_element_private (pad->elem_out, pad); gst_pad_set_active (pad->elem_out, TRUE); + gst_object_unref (template); /* and this pad may not be named src.. */ {