|
From: maverick m. <muj...@gm...> - 2008-10-06 03:30:50
|
Hi, I am trying valgrind to test memory leak. Valgrind showing memory leak when I pass a pointer from heap as 4th argument to pthread_create. ==32589== 144 bytes in 1 blocks are definitely lost in loss record 34 of 74 ==32589== at 0x4005D85: calloc (vg_replace_malloc.c:397) ==32589== by 0x57571A: _dl_allocate_tls (in /lib/ld-2.3.4.so) ==32589== by 0x6E291E: pthread_create@@GLIBC_2.1 (in /lib/tls/ libpthread-2.3.4.so) Regards, |