diff options
author | jstebbins <[email protected]> | 2013-01-23 19:56:58 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2013-01-23 19:56:58 +0000 |
commit | e11996800af113baba45e5462be8fd5d4646b162 (patch) | |
tree | 7c64d29b4b8807bddce126dbf638b5ff6590d3fb /macosx | |
parent | b038d708ec82764959f7f2647224a7c5ad168191 (diff) |
MacUI: Fix crash caused by double free of advanced_opts
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5197 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index d19f7f754..30be98ece 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -2881,7 +2881,7 @@ fWorkingCount = 0; { char *x264_preset_tmp = job->x264_preset != NULL ? strdup(job->x264_preset) : NULL; char *x264_tune_tmp = job->x264_tune != NULL ? strdup(job->x264_tune) : NULL; - char *advanced_opts_tmp = job->advanced_opts != NULL ? job->advanced_opts : NULL; + char *advanced_opts_tmp = job->advanced_opts != NULL ? strdup(job->advanced_opts) : NULL; char *h264_profile_tmp = job->x264_profile != NULL ? strdup(job->x264_profile) : NULL; char *h264_level_tmp = job->h264_level != NULL ? strdup(job->h264_level) : NULL; /* |