Commit 50b04778 authored by hartman's avatar hartman
Browse files

macosx: memleak due to unneeded strdup()

parent fde2277f
......@@ -1191,7 +1191,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