summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/settings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c
index 2f1604c54..362dfff2f 100644
--- a/gtk/src/settings.c
+++ b/gtk/src/settings.c
@@ -2010,6 +2010,7 @@ ghb_x264_opt_update(signal_user_data_t *ud, GtkWidget *widget)
len = strlen(result);
if (len > 0) result[len - 1] = 0;
ghb_ui_update(ud, "x264_options", result);
+ g_free(result);
}
}