diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index 9a5f6b8..5eb446a 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -1142,14 +1142,11 @@ void on_page_navigation_clicked(GtkWidget *self, main_window *widgets){ } else { char *language = (char*)gtk_combo_box_get_active_id(GTK_COMBO_BOX(widgets->LanguagesCombo)); yon_config_register(lang_parameter,lang_parameter_command,language); - free(language); } if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widgets->RegionSensitiveCheck))){ char *region = (char*)gtk_combo_box_get_active_id(GTK_COMBO_BOX(widgets->RegionCombo)); char *zone = (char*)gtk_combo_box_get_active_id(GTK_COMBO_BOX(widgets->ZoneCombo)); yon_config_register(zone_parameter,zone_parameter_command,yon_char_unite(region,"/",zone,NULL)); - free(zone); - free(region); } else { yon_config_remove_by_key(zone_parameter); }