Commit 93b60e9b authored by hartman's avatar hartman Committed by Jean-Baptiste Kempf
Browse files

macosx intf: another strdup memleak


(cherry picked from commit a037a08d58e5b97af4ec09071818126fd581b27f)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent a1c9010b
...@@ -853,7 +853,7 @@ ...@@ -853,7 +853,7 @@
case VLC_VAR_INTEGER: case VLC_VAR_INTEGER:
o_title = text_list.p_list->p_values[i].psz_string ? o_title = text_list.p_list->p_values[i].psz_string ?
[[VLCMain sharedInstance] localizedString: strdup( text_list.p_list->p_values[i].psz_string )] : [[VLCMain sharedInstance] localizedString: text_list.p_list->p_values[i].psz_string] :
[NSString stringWithFormat: @"%d", [NSString stringWithFormat: @"%d",
val_list.p_list->p_values[i].i_int]; val_list.p_list->p_values[i].i_int];
......
Supports Markdown
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