From 0882456c483f5dbe0afd921049c25b721d19c983 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Tue, 31 Mar 2026 14:54:36 +0600 Subject: [PATCH] Fixed advanced window crash --- source/ubinstall-gtk-advanced.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubinstall-gtk-advanced.c b/source/ubinstall-gtk-advanced.c index e39bc54..a490752 100644 --- a/source/ubinstall-gtk-advanced.c +++ b/source/ubinstall-gtk-advanced.c @@ -42,7 +42,7 @@ void on_advanced_part_remove_part(GtkWidget *self, main_window *widgets){ for_iter (model, &iter){ char *target; gtk_tree_model_get(model,&iter,0,&target,-1); - if (!strcmp(data->partition,target)){ + if (data->partition&&!strcmp(data->partition,target)){ gtk_widget_destroy(part->MainBox); gtk_list_store_set(widgets->PartitionsList,&iter,7,0,-1); free(part);