summaryrefslogtreecommitdiffstats
path: root/gtk/src/audiohandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/audiohandler.c')
-rw-r--r--gtk/src/audiohandler.c5
1 files changed, 5 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