valgrind --tool=memcheck --leak-check=full ./wtdpl
==11071== Memcheck, a memory error detector
==11071== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==11071== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==11071== Command: ./wtdpl
==11071==
Registrations:
=================================================================================================
Call-ID: Y2VkZjY4MzY4OTFmZDMxZjJkY2FkNmQ1OWZkNjg5YTU.
Contact: "abc" <sip:6100010030100@192.168.1.6:2964;rinstance=239a1e88dd886ca0>
Agent: eyeBeam release 1011d stamp 40820
Status: Registered(UDP)(unknown) EXP(2013-11-16 12:31:53) EXPSECS(2321)
IP: 192.168.1.6
Port: 2964
Auth-User: 6100010030100
Auth-Realm: 192.168.1.200
Total items returned: 1
=================================================================================================
Registrations:
=================================================================================================
Total items returned: 0
=================================================================================================
Registrations:
=================================================================================================
Call-ID: Y2VkZjY4MzY4OTFmZDMxZjJkY2FkNmQ1OWZkNjg5YTU.
Contact: "abc" <sip:6100010030100@192.168.1.6:2964;rinstance=239a1e88dd886ca0>
Agent: eyeBeam release 1011d stamp 40820
Status: Registered(UDP)(unknown) EXP(2013-11-16 12:31:53) EXPSECS(2320)
IP: 192.168.1.6
Port: 2964
Auth-User: 6100010030100
Auth-Realm: 192.168.1.200
Total items returned: 1
=================================================================================================
Registrations:
=================================================================================================
Total items returned: 0
=================================================================================================
Registrations:
=================================================================================================
Call-ID: Y2VkZjY4MzY4OTFmZDMxZjJkY2FkNmQ1OWZkNjg5YTU.
Contact: "abc" <sip:6100010030100@192.168.1.6:2964;rinstance=239a1e88dd886ca0>
Agent: eyeBeam release 1011d stamp 40820
Status: Registered(UDP)(unknown) EXP(2013-11-16 12:31:53) EXPSECS(2319)
IP: 192.168.1.6
Port: 2964
Auth-User: 6100010030100
Auth-Realm: 192.168.1.200
Total items returned: 1
=================================================================================================
Registrations:
=================================================================================================
Total items returned: 0
=================================================================================================
Registrations:
=================================================================================================
Call-ID: Y2VkZjY4MzY4OTFmZDMxZjJkY2FkNmQ1OWZkNjg5YTU.
Contact: "abc" <sip:6100010030100@192.168.1.6:2964;rinstance=239a1e88dd886ca0>
Agent: eyeBeam release 1011d stamp 40820
Status: Registered(UDP)(unknown) EXP(2013-11-16 12:31:53) EXPSECS(2318)
IP: 192.168.1.6
Port: 2964
Auth-User: 6100010030100
Auth-Realm: 192.168.1.200
Total items returned: 1
=================================================================================================
Registrations:
=================================================================================================
Total items returned: 0
=================================================================================================
Registrations:
=================================================================================================
Call-ID: Y2VkZjY4MzY4OTFmZDMxZjJkY2FkNmQ1OWZkNjg5YTU.
Contact: "abc" <sip:6100010030100@192.168.1.6:2964;rinstance=239a1e88dd886ca0>
Agent: eyeBeam release 1011d stamp 40820
Status: Registered(UDP)(unknown) EXP(2013-11-16 12:31:53) EXPSECS(2316)
IP: 192.168.1.6
Port: 2964
Auth-User: 6100010030100
Auth-Realm: 192.168.1.200
Total items returned: 1
=================================================================================================
Registrations:
=================================================================================================
Total items returned: 0
=================================================================================================
Registrations:
=================================================================================================
Call-ID: Y2VkZjY4MzY4OTFmZDMxZjJkY2FkNmQ1OWZkNjg5YTU.
Contact: "abc" <sip:6100010030100@192.168.1.6:2964;rinstance=239a1e88dd886ca0>
Agent: eyeBeam release 1011d stamp 40820
Status: Registered(UDP)(unknown) EXP(2013-11-16 12:31:53) EXPSECS(2315)
IP: 192.168.1.6
Port: 2964
Auth-User: 6100010030100
Auth-Realm: 192.168.1.200
Total items returned: 1
=================================================================================================
Registrations:
=================================================================================================
Total items returned: 0
=================================================================================================
Registrations:
=================================================================================================
Call-ID: Y2VkZjY4MzY4OTFmZDMxZjJkY2FkNmQ1OWZkNjg5YTU.
Contact: "abc" <sip:6100010030100@192.168.1.6:2964;rinstance=239a1e88dd886ca0>
Agent: eyeBeam release 1011d stamp 40820
Status: Registered(UDP)(unknown) EXP(2013-11-16 12:31:53) EXPSECS(2314)
IP: 192.168.1.6
Port: 2964
Auth-User: 6100010030100
Auth-Realm: 192.168.1.200
Total items returned: 1
=================================================================================================
Registrations:
=================================================================================================
Total items returned: 0
=================================================================================================
Registrations:
=================================================================================================
Call-ID: Y2VkZjY4MzY4OTFmZDMxZjJkY2FkNmQ1OWZkNjg5YTU.
Contact: "abc" <sip:6100010030100@192.168.1.6:2964;rinstance=239a1e88dd886ca0>
Agent: eyeBeam release 1011d stamp 40820
Status: Registered(UDP)(unknown) EXP(2013-11-16 12:31:53) EXPSECS(2313)
IP: 192.168.1.6
Port: 2964
Auth-User: 6100010030100
Auth-Realm: 192.168.1.200
Total items returned: 1
=================================================================================================
Registrations:
=================================================================================================
Total items returned: 0
=================================================================================================
Registrations:
=================================================================================================
Call-ID: Y2VkZjY4MzY4OTFmZDMxZjJkY2FkNmQ1OWZkNjg5YTU.
Contact: "abc" <sip:6100010030100@192.168.1.6:2964;rinstance=239a1e88dd886ca0>
Agent: eyeBeam release 1011d stamp 40820
Status: Registered(UDP)(unknown) EXP(2013-11-16 12:31:53) EXPSECS(2312)
IP: 192.168.1.6
Port: 2964
Auth-User: 6100010030100
Auth-Realm: 192.168.1.200
Total items returned: 1
=================================================================================================
Registrations:
=================================================================================================
Total items returned: 0
=================================================================================================
Registrations:
=================================================================================================
Call-ID: Y2VkZjY4MzY4OTFmZDMxZjJkY2FkNmQ1OWZkNjg5YTU.
Contact: "abc" <sip:6100010030100@192.168.1.6:2964;rinstance=239a1e88dd886ca0>
Agent: eyeBeam release 1011d stamp 40820
Status: Registered(UDP)(unknown) EXP(2013-11-16 12:31:53) EXPSECS(2310)
IP: 192.168.1.6
Port: 2964
Auth-User: 6100010030100
Auth-Realm: 192.168.1.200
Total items returned: 1
=================================================================================================
Registrations:
=================================================================================================
Total items returned: 0
=================================================================================================
^C==11071==
==11071== HEAP SUMMARY:
==11071== in use at exit: 26,309,844 bytes in 2,639 blocks
==11071== total heap usage: 14,394 allocs, 11,755 frees, 66,216,694 bytes allocated
==11071==
==11071== 1,152 bytes in 4 blocks are possibly lost in loss record 41 of 51
==11071== at 0x4A0580F: calloc (vg_replace_malloc.c:618)
==11071== by 0x34C9E11892: _dl_allocate_tls (in /lib64/
ld-2.12.so)
==11071== by 0x405CFC: esl_thread_create_detached_ex (esl_threadmutex.c:118)
==11071== by 0x402410: esl_listen_threaded (esl.c:771)
==11071== by 0x401CD6: main (wtdpl.cpp:58)
==11071==
==11071== 4,008 (88 direct, 3,920 indirect) bytes in 1 blocks are definitely lost in loss record 43 of 51
==11071== at 0x4A06AAA: malloc (vg_replace_malloc.c:291)
==11071== by 0x4056B1: esl_event_create_subclass (esl_event.c:179)
==11071== by 0x402B33: esl_recv_event (esl.c:1245)
==11071== by 0x4033E5: esl_send_recv_timed (esl.c:1517)
==11071== by 0x401AE1: mycallback(int, int, sockaddr_in*) (wtdpl.cpp:28)
==11071== by 0x40209F: client_thread (esl.c:654)
==11071== by 0x405D37: thread_launch (esl_threadmutex.c:74)
==11071==
==11071== LEAK SUMMARY:
==11071== definitely lost: 88 bytes in 1 blocks
==11071== indirectly lost: 3,920 bytes in 10 blocks
==11071== possibly lost: 1,152 bytes in 4 blocks
==11071== still reachable: 26,304,684 bytes in 2,624 blocks
==11071== suppressed: 0 bytes in 0 blocks
==11071== Reachable blocks (those to which a pointer was found) are not shown.
==11071== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==11071==
==11071== For counts of detected and suppressed errors, rerun with: -v
==11071== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 4 from 4)