Navimel
June 28th, 2008, 09:47 AM
Hi,
i have a list which is my p, this list could have lot of elements.
I use this code below to free the memory at the end of my program.
A strange things happen, at certain point i dont know why, the execution stop at the free(app);
I have this problem just on Windows! On linux every thing is fine :ehh:
Does someone know what can cause this stop problem?
while(p!=NULL){
app=p;
free(app);
p=p->next;
}
thanks
i have a list which is my p, this list could have lot of elements.
I use this code below to free the memory at the end of my program.
A strange things happen, at certain point i dont know why, the execution stop at the free(app);
I have this problem just on Windows! On linux every thing is fine :ehh:
Does someone know what can cause this stop problem?
while(p!=NULL){
app=p;
free(app);
p=p->next;
}
thanks