settings-dialog: Fix XtmRefreshRate memory leak

Closes #81
This commit is contained in:
correctmost
2024-01-21 17:27:59 +00:00
committed by Gaël Bonithon
parent a23c5c304e
commit 7ba61f749b

View File

@@ -104,6 +104,7 @@ builder_bind_combobox (GtkBuilder *builder, XtmSettings *settings)
gtk_tree_model_foreach (model, combobox_foreach, refresh_rate);
g_object_set_data (G_OBJECT (refresh_rate->combobox), "setting-name", "refresh-rate");
g_signal_connect (refresh_rate->combobox, "changed", G_CALLBACK (combobox_changed), settings);
g_free (refresh_rate);
}
static void