Find the missing permutation: Difference between revisions

Content added Content deleted
Line 151: Line 151:
{
{
if (NULL == p) return;
if (NULL == p) return;
if (p->crntperm) free(p->crntperm);
free(p->crntperm);
if (p->counts) free(p->counts);
free(p->counts);
free(p);
free(p);
}
}