OSDN Git Service

MacGui: Thinine's custom file size and x264 fix.
[handbrake-jp/handbrake-jp-git.git] / macosx / Controller.mm
index 1bde5de..499ae83 100644 (file)
@@ -864,7 +864,7 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow
                [self PrepareJob];
                
                /* Destination file */
-               job->file = strdup( [[fDstFile2Field stringValue] UTF8String] );
+               job->file = [[fDstFile2Field stringValue] UTF8String];
                
                if( [fVidTwoPassCheck state] == NSOnState )
                {