Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void poly_free(poly **P) {
- node *temp;
- temp = (*P)->terms;
- while(temp != NULL) {
- node *temp2 = temp;
- free(temp2);
- temp = temp->next;
- }
- (*P) = NULL;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement