Some TODO resolution.

This commit is contained in:
Pietro Gagliardi 2015-05-06 10:14:37 -04:00
parent 7e0d79713b
commit 6b9990a58c
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ struct ptrArray newPtrArray(void)
void ptrArrayDestroy(struct ptrArray *p)
{
// TODO check iif len is nonzero
if (p->len != 0)
complain("attempt to destroy ptrarray %p while it still has pointers inside", p);
uiFree(p);
}