Some TODO resolution.
This commit is contained in:
parent
7e0d79713b
commit
6b9990a58c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue