Commit b1d4c101 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

macosx: memleak due to unneeded strdup()

(cherry picked from commit 50b04778)
Signed-off-by: default avatarDerk-Jan Hartman <hartman@videolan.org>
parent 771539a5
......@@ -1098,7 +1098,7 @@
{
for( i = 0; i < (int)[o_options count]; i++ )
{
input_item_AddOption( p_input, strdup( [[o_options objectAtIndex:i] UTF8String] ),
input_item_AddOption( p_input, [[o_options objectAtIndex:i] UTF8String],
VLC_INPUT_OPTION_TRUSTED );
}
}
......
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