[vlc-devel] commit: WinCE: fix memleak. ( Rémi Duraffort )
git version control
git at videolan.org
Sat Oct 10 11:57:44 CEST 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Oct 2 19:32:03 2009 +0200| [97d4f365ed239ffce6b837aadfd1d0e44d703fc4] | committer: Rémi Duraffort
WinCE: fix memleak.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=97d4f365ed239ffce6b837aadfd1d0e44d703fc4
---
modules/gui/wince/menus.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/gui/wince/menus.cpp b/modules/gui/wince/menus.cpp
index ff22cb2..7b50d1e 100644
--- a/modules/gui/wince/menus.cpp
+++ b/modules/gui/wince/menus.cpp
@@ -673,6 +673,7 @@ HMENU CreateChoicesMenu( intf_thread_t *p_intf,
AppendMenu( hSubMenu, MF_STRING, ++(*pi_item_id),
_FROMMB(text_list.p_list->p_values[i].psz_string ?
text_list.p_list->p_values[i].psz_string : psz_tmp));
+ free( psz_tmp );
pMenuItemExt = new MenuItemExt( p_intf, *pi_item_id, psz_var,
p_object, val_list.p_list->p_values[i], i_type );
p_menu_list->push_back( pMenuItemExt );
More information about the vlc-devel
mailing list