From 084c1a6847baaeabaedb0d74a12b1b0ec0b2c7d9 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Mon, 8 Dec 2003 11:49:16 +0000 Subject: all code where xine_list_free() is used (correctly) assumes that xine_list_free() frees the elements and itself, unfortunately this has not been true CVS patchset: 5868 CVS date: 2003/12/08 11:49:16 --- src/xine-utils/list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/xine-utils/list.c b/src/xine-utils/list.c index 91a24c9a5..ec517e003 100644 --- a/src/xine-utils/list.c +++ b/src/xine-utils/list.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: list.c,v 1.5 2003/09/16 02:03:16 storri Exp $ + * $Id: list.c,v 1.6 2003/12/08 11:49:16 mroi Exp $ * */ #ifdef HAVE_CONFIG_H @@ -71,7 +71,7 @@ void xine_list_free(xine_list_t *l) { free(n); } - l->first = l->cur = l->last = NULL; /* FIXME: free(l) instead */ + free(l); } void *xine_list_first_content (xine_list_t *l) { -- cgit v1.2.3