From 74ed31516e0d2e1000d19ab2f97413e424453ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 30 Nov 2010 23:14:07 +0100 Subject: Small memory leaks in VCD input plugin class. --- src/input/vcd/xineplug_inp_vcd.c | 4 ++++ 1 file changed, 4 insertions(+) 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. */ -- cgit v1.2.3