diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-12-08 11:49:16 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-12-08 11:49:16 +0000 |
commit | 084c1a6847baaeabaedb0d74a12b1b0ec0b2c7d9 (patch) | |
tree | bed178b5049c2e2719aa7626caea13e5e6144274 /src | |
parent | d6e09bb165a81d7ad42666c0fc047240a952593a (diff) | |
download | xine-lib-084c1a6847baaeabaedb0d74a12b1b0ec0b2c7d9.tar.gz xine-lib-084c1a6847baaeabaedb0d74a12b1b0ec0b2c7d9.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-utils/list.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |