Mercurial > mplayer.hg
changeset 25401:f3acd58a3eff
Fix memory leak.
author | ulion |
---|---|
date | Mon, 17 Dec 2007 01:20:19 +0000 |
parents | fb8ad8ae4dfd |
children | f8f596bad3bd |
files | libmenu/menu_cmdlist.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmenu/menu_cmdlist.c Mon Dec 17 01:06:17 2007 +0000 +++ b/libmenu/menu_cmdlist.c Mon Dec 17 01:20:19 2007 +0000 @@ -90,6 +90,10 @@ free(entry->ok); if(entry->cancel) free(entry->cancel); + if(entry->left) + free(entry->left); + if(entry->right) + free(entry->right); free(entry->p.txt); free(entry); }