valgrind stuff

Marc Lehmann schmorp at
Wed Apr 9 23:31:17 CEST 2008

On Wed, Apr 09, 2008 at 11:17:26PM +0200, Marc Lehmann <schmorp at> wrote:
> (it's actually the unix specification that requires this, btw., not C)


   C89 "If size is zero and ptr is not a null pointer, the
   object it points to is freed."^

If a system can't get it right after 19 years of implementation practise
in C, it must be a *bsd system.

*sigh* this is frustrating. next release will have a workaround which would
also silence the valgrind warnings - one should tip them of, though, that
this shouldn't be reported by default, as it's not a leak.

                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_    
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at
      -=====/_/_//_/\_,_/ /_/\_\

More information about the libev mailing list