From 4dfbfec7c21674fd17cdbef02a71296eba00058b Mon Sep 17 00:00:00 2001 From: Julien Moutte Date: Tue, 29 Nov 2005 08:27:08 +0000 Subject: [PATCH] ext/ogg/gstoggdemux.c: Free the list, patch from bug #322704 (Alessandro Decina). Original commit message from CVS: 2005-11-29 Julien MOUTTE * ext/ogg/gstoggdemux.c: (gst_ogg_type_find): Free the list, patch from bug #322704 (Alessandro Decina). --- ChangeLog | 5 +++++ ext/ogg/gstoggdemux.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index f4cb583..8f060ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-29 Julien MOUTTE + + * ext/ogg/gstoggdemux.c: (gst_ogg_type_find): Free the list, + patch from bug #322704 (Alessandro Decina). + 2005-11-29 Thomas Vander Stichele * gst-libs/gst/audio/Makefile.am: diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 67c696c..d428596 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -2662,6 +2662,8 @@ gst_ogg_type_find (ogg_packet * packet) walk = g_list_next (walk); } + g_list_free (type_list); + if (find.best_probability > 0) return find.caps; -- 2.7.4