On Thu, May 15, 2008 at 07:10:36PM +0900, hsanson <[EMAIL PROTECTED]> wrote:
> I am using libev to implement a media server and so far everything is 
> smooth and easy. The only problem that I found is that libev seems to 
> leak memory.

It doesn't:

> Running this program under valgrind will give me errors about 
> unallocated blocks.

Not sure what an unallocated block is, but there is no such thing in the
report you included.

> ==30474==    definitely lost: 0 bytes in 0 blocks.
> ==30474==      possibly lost: 0 bytes in 0 blocks.

no memleaks.

> I tried searching the cause but I am not familiar with libev internals 
> yet. Any tips are appreciated.

In the report you included there is no memory leak. Did you misinterpret
valgrind output?

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [EMAIL PROTECTED]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to