I have a struct that only contains pointers to memory that I\'ve allocated. Is there a way to recursively free each element that is a pointer rather than calling free on eac
I don't believe that's possible in any form of C.
You could code a separate function for that specific structure where you would pass the pointers and free them there.
EDIT: Ups, too late, never saw those answers...