On Wed, Sep 26, 2012 at 6:14 PM, GHui <ugiwgh@xxxxxxxxx> wrote: > I had coding a program like the following. > #include <stdio.h> > int main(int argc,char **argv) > { > int *a=(int*)malloc(sizeof(int)); > free(a); > free(a); > return 0; > } > The program will get error "double free or corruption (fasttop)". On some systems, with some libraries, yes. > I have another question. I have got an error message "corrupted double-linked". What code can result in this? And its killed signal. http://en.wikipedia.org/wiki/Memory_corruption Ian