ui/common/types.c

changeset 1174
8b8da1adef7d
parent 1172
e1c1559f2522
--- a/ui/common/types.c	Sat Jun 06 16:53:39 2026 +0200
+++ b/ui/common/types.c	Sat Jun 06 18:04:54 2026 +0200
@@ -760,6 +760,9 @@
 
 void uic_generic_save(UiGeneric *g) {
     if(!g->obj) return;
+    // TODO: this leaks memory
+    // we can't just use get on Generic and ignore the result
+    // probably a separate save method is required
     g->get(g);
 }
 

mercurial