Is using free(p->next) acceptable in C? I’m working on solving a simple algorithm problem, and here’s the question.