[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] evthread_use_windows_threads() cause memory leak?



i can't use valgrind in windows

the report in VS2010
 
Detected memory leaks!
Dumping objects ->
{479} normal block at 0x003E7FC0, 24 bytes long.
 Data: <h               > 68 F0 1E 00 FF FF FF FF 00 00 00 00 00 00 00 00 
{478} normal block at 0x003E7F68, 24 bytes long.
 Data: <0               > 30 F0 1E 00 FF FF FF FF 00 00 00 00 00 00 00 00 
{477} normal block at 0x003E7F10, 24 bytes long.
 Data: <                > F8 EF 1E 00 FF FF FF FF 00 00 00 00 00 00 00 00 
Object dump complete.


2012/12/4 Azat Khuzhin <dohardgopro@xxxxxxxxx>
Hi,

Try to use libevent-2.1 and call "libevent_global_shutdown()" for cleanup.

From changelog:
Add a new libevent_global_shutdown() to free all globals before exiting.
(041ca00 Mark Ellzey, f98c158, 15296d0, 55e991b)

If this not helps valgrind output would be useful.

On Mon, Dec 3, 2012 at 11:02 AM, JiangHao <jaxecn@xxxxxxxxx> wrote:
> evthread_use_windows_threads



--
Azat Khuzhin
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.