# HG changeset patch
# User Olaf Wintermann <olaf.wintermann@gmail.com>
# Date 1718133731 -7200
# Node ID 9f3448a10d111a9efde3bb9538d24fa2ef6ad3ab
# Parent  834d9c15a69fc6e4738739d9273f8473294a5fc4
don't free the UiModel after it is given to the table

diff -r 834d9c15a69f -r 9f3448a10d11 application/window.c
--- a/application/window.c	Sun Jun 09 17:00:22 2024 +0200
+++ b/application/window.c	Tue Jun 11 21:22:11 2024 +0200
@@ -75,8 +75,6 @@
 		ui_label(obj, .label = "");
 	}
 
-	ui_model_free(obj->ctx, model);
-
 	return obj;
 }