summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-12-10 09:21:06 -0800
committerJohn Stebbins <[email protected]>2019-12-10 09:21:06 -0800
commite31bcd71174cd146f4b0e2eb46d5de8b83b89475 (patch)
treeb2b4f8225ada41928fa76d847bd0aff295dfdf1e /gtk/src
parent4e566864794df77ff9ab1c998531b06c88fa7151 (diff)
LinGui: fix small memory leak in audio list display
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/audiohandler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c
index e03026fc4..af6386da7 100644
--- a/gtk/src/audiohandler.c
+++ b/gtk/src/audiohandler.c
@@ -469,6 +469,7 @@ audio_update_dialog_widgets(signal_user_data_t *ud, GhbValue *asettings)
gain = ghb_dict_get_double(asettings, "Gain");
s_gain = get_gain_string(gain);
ghb_ui_update(ud, "AudioTrackGainValue", ghb_string_value(s_gain));
+ g_free(s_gain);
int codec = ghb_settings_audio_encoder_codec(asettings, "Encoder");
quality = ghb_dict_get_double(asettings, "Quality");