Memory leak in axiom_soap_header_remove_header_block() function ---------------------------------------------------------------
Key: AXIS2C-1250 URL: https://issues.apache.org/jira/browse/AXIS2C-1250 Project: Axis2-C Issue Type: Bug Environment: linux Reporter: Damitha Kumarage When axiom_soap_header_remove_header_block() function is called it cause memory leak. The sample I used is attached herewith. Following is the leak summary. ==31236== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 25 from 1) ==31236== malloc/free: in use at exit: 16 bytes in 1 blocks. ==31236== malloc/free: 195 allocs, 194 frees, 203,462 bytes allocated. ==31236== For counts of detected errors, rerun with: -v ==31236== searching for pointers to 1 not-freed blocks. ==31236== checked 126,060 bytes. ==31236== ==31236== 16 bytes in 1 blocks are definitely lost in loss record 1 of 1 ==31236== at 0x4023D6E: malloc (vg_replace_malloc.c:207) ==31236== by 0x40309DC: axutil_allocator_malloc_impl (allocator.c:75) ==31236== by 0x402FE75: axutil_hash_first (hash.c:161) ==31236== by 0x4065779: axiom_soap_header_remove_header_block (soap_header.c:550) ==31236== by 0x80489BF: main (test.c:35) ==31236== ==31236== LEAK SUMMARY: ==31236== definitely lost: 16 bytes in 1 blocks. ==31236== possibly lost: 0 bytes in 0 blocks. ==31236== still reachable: 0 bytes in 0 blocks. ==31236== suppressed: 0 bytes in 0 blocks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]