I defined a struct that has the format:
struct node{
char *str;
int key;
link next;
};
and I have a list of this type, when I try to do this
free ( list -> str )
the program terminates :-| how can I free the memory pointed by list->str without the program terminating?
Thanks in advance