A
Alef.Veld
Some reassurance here please. This crashes on my computer. When you're
in a while loop, maybe a very tight one, is it in any case possible
that the free in this case would occur before the first fprintf thus
crashing the program ?
in a while loop, maybe a very tight one, is it in any case possible
that the free in this case would occur before the first fprintf thus
crashing the program ?
Code:
while(tmp!=NULL) {
fprintf(stderr,"reassign for : %s from %s %s\n",tmp-[QUOTE]
hostname,tmp->x,tmp->y);[/QUOTE]
free(tmp->x);
free(tmp->y);
free(tmp->z);
assign_coordinate(tmp);
fprintf(stderr,"to: %s to %s\n",tmp->x,tmp->y);
tmp=tmp->next;
}
}