diff options
author | John Stebbins <[email protected]> | 2016-03-09 18:10:47 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-03-09 18:10:47 -0700 |
commit | d59e3c12215a0ce0589069ab0eb8771873b2d2e6 (patch) | |
tree | 2a1c030c66a091bbde04729242805617973e1212 /gtk | |
parent | 4cb71a53898bbf50fcb6862d2eca94a711c81245 (diff) |
lingui: fix use of freed memory
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/callbacks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index 85090ad20..0ae74a0c4 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -1387,13 +1387,13 @@ do_source_dialog(GtkButton *button, gboolean single, signal_user_data_t *ud) title_id = ghb_dict_get_int(ud->settings, "single_title"); else title_id = 0; - ghb_do_scan(ud, filename, title_id, TRUE); if (strcmp(sourcename, filename) != 0) { ghb_dict_set_string(ud->prefs, "default_source", filename); ghb_pref_save(ud->prefs, "default_source"); ghb_dvd_set_current(filename, ud); } + ghb_do_scan(ud, filename, title_id, TRUE); g_free(filename); } } |