Mail Archives: djgpp/1999/08/21/17:44:25
> > is there any known problem with free()??
> > my programm crashes sometimes and there is no crash if i'm removeing the
> > free calls.
> > i'm using some v2 distribution and pgcc.
>
> Most likely, this is your bug. Things like writing an array out of
> bounds corrupt some of malloc's internal data, which can make it crash.
>
you meen malloc has some internal data?
i think it just calls some dpmi service and if you pass some good pointer to
free it should work.
- Raw text -