diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/audiohandler.c | 5 | ||||
-rw-r--r-- | gtk/src/presets.c | 1 | ||||
-rw-r--r-- | gtk/src/subtitlehandler.c | 8 |
3 files changed, 14 insertions, 0 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c index 32228e5dc..47c4f3241 100644 --- a/gtk/src/audiohandler.c +++ b/gtk/src/audiohandler.c @@ -1031,6 +1031,7 @@ audio_update_setting( if (block_updates) { + ghb_value_free(&val); return; } @@ -1045,6 +1046,10 @@ audio_update_setting( ghb_audio_list_refresh_selected(ud); ghb_live_reset(ud); } + else + { + ghb_value_free(&val); + } } G_MODULE_EXPORT void diff --git a/gtk/src/presets.c b/gtk/src/presets.c index 019b55774..edb3857da 100644 --- a/gtk/src/presets.c +++ b/gtk/src/presets.c @@ -2487,6 +2487,7 @@ presets_list_selection_changed_cb(GtkTreeSelection *selection, signal_user_data_ ghb_load_post_settings(ud); } gtk_widget_set_sensitive(widget, TRUE); + free(path); } else { diff --git a/gtk/src/subtitlehandler.c b/gtk/src/subtitlehandler.c index ba68bf9d9..8c5df30c9 100644 --- a/gtk/src/subtitlehandler.c +++ b/gtk/src/subtitlehandler.c @@ -860,6 +860,14 @@ srt_setting_update(GhbValue *val, const char *name, signal_user_data_t *ud) subtitle_list_refresh_selected(ud, subsettings); ghb_live_reset(ud); } + else + { + ghb_value_free(&val); + } + } + else + { + ghb_value_free(&val); } } |