Commit 02b581e1 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

macosx intf: Fix a strdup memleak

parent a0790f88
......@@ -705,7 +705,7 @@
/* Get the descriptive name of the variable */
var_Change( p_object, psz_variable, VLC_VAR_GETTEXT, &text, NULL );
[o_mi setTitle: [[VLCMain sharedInstance] localizedString: text.psz_string ?
text.psz_string : strdup( psz_variable ) ]];
text.psz_string : psz_variable ]];
var_Get( p_object, psz_variable, &val );
if( i_type & VLC_VAR_HASCHOICE )
......
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