summaryrefslogtreecommitdiffstats
path: root/gtk/src/x264handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/x264handler.c')
-rw-r--r--gtk/src/x264handler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/x264handler.c b/gtk/src/x264handler.c
index 51a523f25..ad3e92ca2 100644
--- a/gtk/src/x264handler.c
+++ b/gtk/src/x264handler.c
@@ -197,6 +197,7 @@ x264_setting_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
else
new_tt = g_strdup_printf("%s\n\nExpanded Options:\n\"\"", tt);
gtk_widget_set_tooltip_text(eo, new_tt);
+ g_free(new_tt);
g_free(opts);
}
@@ -327,6 +328,7 @@ x264_entry_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
else
new_tt = g_strdup_printf("%s\n\nExpanded Options:\n\"\"", tt);
gtk_widget_set_tooltip_text(eo, new_tt);
+ g_free(new_tt);
g_free(options);
options = sopts;