From f23f3f0026c54a6c9f7d45367690bc461fc79290 Mon Sep 17 00:00:00 2001 From: Rocky Bernstein Date: Fri, 20 May 2005 02:01:35 +0000 Subject: Newer libcdio's have a free() that older ones don't. CVS patchset: 7551 CVS date: 2005/05/20 02:01:35 --- src/input/vcd/xineplug_inp_vcd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/input/vcd/xineplug_inp_vcd.c b/src/input/vcd/xineplug_inp_vcd.c index 1fbda9508..92609b9e9 100644 --- a/src/input/vcd/xineplug_inp_vcd.c +++ b/src/input/vcd/xineplug_inp_vcd.c @@ -1,5 +1,5 @@ /* - $Id: xineplug_inp_vcd.c,v 1.37 2005/04/27 23:28:42 rockyb Exp $ + $Id: xineplug_inp_vcd.c,v 1.38 2005/05/20 02:01:35 rockyb Exp $ Copyright (C) 2002, 2003, 2004, 2005 Rocky Bernstein @@ -62,6 +62,7 @@ #include #include #include +#include /* libvcd includes */ #include @@ -181,7 +182,9 @@ vcd_get_default_device(vcd_input_class_t *class, bool log_msg_if_fail) } class->vcd_device = strdup(cd_drives[0]); cdio_free_device_list(cd_drives); +#if LIBCDIO_VERSION_NUM <= 72 free(cd_drives); +#endif } return true; } -- cgit v1.2.3