[MPlayer-dev-eng] memleak day - now in swscaler

Arpi arpi at thot.banki.hu
Thu Oct 17 00:51:26 CEST 2002


Hi,

swscaler leaks some memory, called from vo_x11.c:

==2589== 350820 bytes in 45 blocks are possibly lost in loss record 73 of 77
==2589==    at 0x40047F1B: malloc (vg_clientfuncs.c:100)
==2589==    by 0x81CCE17: yuv2rgb_c_init (yuv2rgb.c:784)
==2589==    by 0x81CB3CE: yuv2rgb_init (yuv2rgb.c:299)
==2589==    by 0x81BE4F8: getSwsContext (swscale.c:2063)

==2589== 420984 bytes in 54 blocks are definitely lost in loss record 74 of 77
==2589==    at 0x40047F1B: malloc (vg_clientfuncs.c:100)
==2589==    by 0x81CCE17: yuv2rgb_c_init (yuv2rgb.c:784)
==2589==    by 0x81CB3CE: yuv2rgb_init (yuv2rgb.c:299)
==2589==    by 0x81BE4F8: getSwsContext (swscale.c:2063)

it seems that freeSwsContext() forget to free/uninit yuv2rgb.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list