Commit 97d4f365 authored by ivoire's avatar ivoire

WinCE: fix memleak.

parent 8ad63155
......@@ -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 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment