changeset 36499:b83593ffdcfb

vo_bl: Fix a memleak
author reimar
date Sat, 18 Jan 2014 12:43:38 +0000
parents 08051e43dfee
children 21d4dd6f5996
files libvo/vo_bl.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_bl.c	Sat Jan 18 12:39:58 2014 +0000
+++ b/libvo/vo_bl.c	Sat Jan 18 12:43:38 2014 +0000
@@ -322,6 +322,8 @@
 	mp_msg(MSGT_VO, MSGL_V, "bl: uninit called\n");
 	free(bl_packet);
 	bl_packet = NULL;
+	free(tmp);
+	tmp = NULL;
 	free(bl_subdevice);
 	bl_subdevice = NULL;
 	for (i = 0; i < no_bl_files; i++) bl->close_file(&bl_files[i]);