libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] libmicrohttpd leaks memory


From: Andreas Røsdal
Subject: [libmicrohttpd] libmicrohttpd leaks memory
Date: Sun, 15 Jun 2008 16:22:33 +0200 (CEST)

Hello,

I'm using libmicrohttpd as an embedded HTTP server.
When investigating memory leaks with valgrind, I found
something which seems to leak a lot of memory.
It seems that 52 MB of memory has leaked when I tested it.
Here is the output from valgrind:


==19624== 52,428,800 bytes in 50 blocks are still reachable in loss record 11 of 11 ==19624== at 0x4C21D06: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==19624==    by 0x507F838: MHD_pool_create (memorypool.c:79)
==19624==    by 0x507E526: MHD_connection_get_fdset (connection.c:636)
==19624==    by 0x507EF7B: MHD_get_fdset (daemon.c:86)
==19624==    by 0x507F161: ??? (daemon.c:440)
==19624==    by 0x507F50C: ??? (daemon.c:541)
==19624==    by 0x58B401F: start_thread (in /lib64/libpthread-2.6.1.so)
==19624==    by 0x5B8E28C: clone (in /lib64/libc-2.6.1.so)




Mvh,
Andreas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]