Hi,<br><br> I just configured radius 1.1.3 and found that there are some memory leaks in it. <br><br>Here is the output of Valgrind<br><br><br>==30841== ERROR SUMMARY: 4365 errors from 82 contexts (suppressed: 44 from 2)<br>==30841== malloc/free: in use at exit: 1,354,452 bytes in 25,976 blocks.<br>==30841== malloc/free: 35,826 allocs, 9,850 frees, 3,185,516 bytes allocated.<br>==30841== For counts of detected errors, rerun with: -v<br>==30841== searching for pointers to 25,976 not-freed blocks.<br>==30841== checked 75,458,816 bytes.<br>==30841== <br>==30841== <br>==30841== 11 bytes in 1 blocks are possibly lost in loss record 12 of 93<br>==30841== at 0x43BF53F: malloc (m_replacemalloc/vg_replace_malloc.c:149)<br>==30841== by 0x441F567: (within /usr/lib/libltdl.so.3.1.0)<br>==30841== by 0x44200B1: (within /usr/lib/libltdl.so.3.1.0)<br>==30841== by 0x4420CB7: (within
/usr/lib/libltdl.so.3.1.0)<br>==30841== by 0x4421881: lt_dlopenext (in /usr/lib/libltdl.so.3.1.0)<br>==30841== by 0x8052C5A: (within /usr/local/sbin/radiusd)<br>==30841== by 0x8052F66: find_module_instance (in /usr/local/sbin/radiusd)<br>==30841== by 0x8054564: (within /usr/local/sbin/radiusd)<br>==30841== by 0x805475B: compile_modsingle (in /usr/local/sbin/radiusd)<br>==30841== by 0x8053422: (within /usr/local/sbin/radiusd)<br>==30841== by 0x8053958: setup_modules (in /usr/local/sbin/radiusd)<br>==30841== by 0x805683D: main (in /usr/local/sbin/radiusd)<br>==30841== <br>==30841== <br>==30841== 97 bytes in 6 blocks are definitely lost in loss record 43 of 93<br>==30841== at 0x43BF53F: malloc (m_replacemalloc/vg_replace_malloc.c:149)<br>==30841== by 0x441F567: (within
/usr/lib/libltdl.so.3.1.0)<br>==30841== by 0x44200B1: (within /usr/lib/libltdl.so.3.1.0)<br>==30841== by 0x4420CB7: (within /usr/lib/libltdl.so.3.1.0)<br>==30841== by 0x4421881: lt_dlopenext (in /usr/lib/libltdl.so.3.1.0)<br>==30841== by 0x8052C5A: (within /usr/local/sbin/radiusd)<br>==30841== by 0x8052F66: find_module_instance (in /usr/local/sbin/radiusd)<br>==30841== by 0x8054564: (within /usr/local/sbin/radiusd)<br>==30841== by 0x805475B: compile_modsingle (in /usr/local/sbin/radiusd)<br>==30841== by 0x8053422: (within /usr/local/sbin/radiusd)<br>==30841== by 0x8053958: setup_modules (in /usr/local/sbin/radiusd)<br>==30841== by 0x805683D: main (in /usr/local/sbin/radiusd)<br>==30841== <br>==30841== <br>==30841== 476 bytes in 7 blocks are possibly lost in loss record 68 of
93<br>==30841== at 0x43C0C58: calloc (m_replacemalloc/vg_replace_malloc.c:279)<br>==30841== by 0x8464EA: _dl_allocate_tls (in /lib/ld-2.3.3.so)<br>==30841== by 0xAB978D: pthread_create@@GLIBC_2.1 (in /lib/tls/libpthread-2.3.3.so)<br>==30841== by 0x8059A3E: (within /usr/local/sbin/radiusd)<br>==30841== by 0x8059D20: thread_pool_init (in /usr/local/sbin/radiusd)<br>==30841== by 0x8056A8B: main (in /usr/local/sbin/radiusd)<br>==30841== <br>==30841== LEAK SUMMARY:<br>==30841== definitely lost: 97 bytes in 6 blocks.<br>==30841== possibly lost: 487 bytes in 8 blocks.<br>==30841== still reachable: 1,353,868 bytes in 25,962 blocks.<br>==30841== suppressed: 0 bytes in 0 blocks.<br>==30841== Reachable blocks (those to which a pointer was found) are not
shown.<br>==30841== To see them, rerun with: --show-reachable=yes<br><br><br><br><br>Can any one help me how to fix this.?<br><br>Best Regards,<br>Abdul Qadir<p>
<hr size=1>Need a quick answer? Get one in minutes from people who know. Ask your question on
<a href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx">Yahoo! Answers</a>.