curl-library
Freeing Error in getinmemory.c
From: J. Gonzalez <boiteauxlettres_at_gmail.com>
Date: Mon, 10 Oct 2005 19:18:46 +0200
Date: Mon, 10 Oct 2005 19:18:46 +0200
Hello,
I'm new with libcurl (apologies). I've copy/paste getinmemory.c and
compiled it (with warnings).
At the end of the code, I've put :
printf("%s\n", chunk.memory);
which works very well, but next :
free(chunk.memory);
gives me lot of errors (*** glibc detected *** ./mycurl: free():
invalid next size (fast): 0x088d3e28 **)
any ideas ? thanks.
Received on 2005-10-10