diff -r d3a8c29ebdaa -r 0a150985d6b6 ui/common/object.c --- a/ui/common/object.c Sun May 17 10:46:35 2026 +0200 +++ b/ui/common/object.c Mon May 18 21:29:56 2026 +0200 @@ -105,8 +105,9 @@ if(obj->ref == 0 || --obj->ref == 0) { if(obj->destroy) { obj->destroy(obj); + } else { + uic_object_destroy(obj); } - uic_object_destroy(obj); return 0; } return 1;