diff --git a/darwin/table.m b/darwin/table.m index fc203514..1bdc7f8d 100644 --- a/darwin/table.m +++ b/darwin/table.m @@ -163,7 +163,9 @@ static void uiTableDestroy(uiControl *c) { uiTable *t = uiTable(c); - // TODO + [t->m->tables removeObject:t->tv]; + uiprivScrollViewFreeData(t->sv, t->d); + [t->tv release]; [t->sv release]; uiFreeControl(uiControl(t)); }