[MPlayer-dev-eng] [PATCH] Fix cmd filter memory leak

Ulion ulion2002 at gmail.com
Sun Nov 4 07:51:13 CET 2007


Hello,

I found in input/input.c, the cmd filter code has a memory leak, the
cmd eaten by filter will never be freed, and it also does not deal
with cmd in correct way when peek_only is non-zero.
This patch will fix it. And also, it will fix the osd menu hang
(indeed it's dead loop) bug trigered by select any menu item which
call a 'set_menu' command when pausing by the osd menu.
Ps: By now osd menu is the only place use the cmd filter in mplayer.

-- 
Ulion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd_filter_leak_fix.diff
Type: text/x-diff
Size: 570 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071104/885380aa/attachment.diff>


More information about the MPlayer-dev-eng mailing list