summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRocky Bernstein <rockyb@users.sourceforge.net>2004-03-24 04:25:06 +0000
committerRocky Bernstein <rockyb@users.sourceforge.net>2004-03-24 04:25:06 +0000
commitb0f782350ee6967da00ab3d7611b32f3df83eb2b (patch)
treed0a110681f85d63ed06e6eb5d7bd6e08ad09b47c /src
parent029bbcf83b5ac4bbe0a260482f60baeb3ca3a122 (diff)
downloadxine-lib-b0f782350ee6967da00ab3d7611b32f3df83eb2b.tar.gz
xine-lib-b0f782350ee6967da00ab3d7611b32f3df83eb2b.tar.bz2
valgrind-caught memleak.
CVS patchset: 6307 CVS date: 2004/03/24 04:25:06
Diffstat (limited to 'src')
-rw-r--r--src/input/vcd/xineplug_inp_vcd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/vcd/xineplug_inp_vcd.c b/src/input/vcd/xineplug_inp_vcd.c
index 25b1d7acb..8394537e5 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.12 2004/03/05 17:50:29 mroi Exp $
+ $Id: xineplug_inp_vcd.c,v 1.13 2004/03/24 04:25:06 rockyb Exp $
Copyright (C) 2002, 2003, 2004 Rocky Bernstein <rocky@panix.com>
@@ -174,6 +174,7 @@ 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);
+ free(cd_drives);
}
return true;
}