summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@civ.zcu.cz>2010-11-30 23:14:07 +0100
committerFrantišek Dvořák <valtri@civ.zcu.cz>2010-11-30 23:14:07 +0100
commit74ed31516e0d2e1000d19ab2f97413e424453ae4 (patch)
treec7a2c2c6e18cbb1a478d54077ca6ca96db15de27
parentafc21c050464eec01f98a34455581e2f5d877c87 (diff)
downloadxine-lib-74ed31516e0d2e1000d19ab2f97413e424453ae4.tar.gz
xine-lib-74ed31516e0d2e1000d19ab2f97413e424453ae4.tar.bz2
Small memory leaks in VCD input plugin class.
-rw-r--r--src/input/vcd/xineplug_inp_vcd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/vcd/xineplug_inp_vcd.c b/src/input/vcd/xineplug_inp_vcd.c
index e238460db..70fcfe7ae 100644
--- a/src/input/vcd/xineplug_inp_vcd.c
+++ b/src/input/vcd/xineplug_inp_vcd.c
@@ -1525,6 +1525,10 @@ vcd_class_dispose (input_class_t *this_gen) {
dbg_print((INPUT_DBG_CALL|INPUT_DBG_EXT), "called\n");
vcd_close(class);
+ free(class->vcd_device);
+ free(my_vcd.v_config.title_format);
+ free(my_vcd.v_config.comment_format);
+ free(class);
}
/* Update the xine player title text. */