# HG changeset patch # User reimar # Date 1390049018 0 # Node ID b83593ffdcfb46b15109b73eeaa847beb5618d99 # Parent 08051e43dfee3714f9c88ad457b5b849c2cc9688 vo_bl: Fix a memleak diff -r 08051e43dfee -r b83593ffdcfb libvo/vo_bl.c --- 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]);