mediastreamer2_tester_ios.m: use ms_strdup when setting writable/readable directories

parent 711fa5cf
......@@ -39,8 +39,8 @@ static void* _apple_main(void* data) {
NSLog(@"Bundle path: %@", bundlePath);
NSLog(@"Document path: %@", documentPath);
bc_tester_read_dir_prefix = [bundlePath UTF8String] ;
bc_tester_writable_dir_prefix = [documentPath UTF8String] ;
bc_tester_read_dir_prefix = ms_strdup([bundlePath UTF8String]);
bc_tester_writable_dir_prefix = ms_strdup([documentPath UTF8String]);
apple_main(g_argc,g_argv);
[bundlePath release];
......
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