paolo@paolo-laptop:~/Repos/ns-3-dev$ valgrind --leak-check=full ./build/debug/scratch/thirdpaolo ==2314== Memcheck, a memory error detector ==2314== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==2314== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info ==2314== Command: ./build/debug/scratch/thirdpaolo ==2314== Sent 1024 bytes to 10.1.2.4 Sent 1024 bytes to 10.1.2.4 Sent 1024 bytes to 10.1.2.4 Received 1024 bytes from 10.1.3.3 Received 1024 bytes from 10.1.3.2 Received 1024 bytes from 10.1.3.1 Received 1024 bytes from 10.1.2.4 Received 1024 bytes from 10.1.2.4 Received 1024 bytes from 10.1.2.4 Sent 1024 bytes to 10.1.2.4 Sent 1024 bytes to 10.1.2.4 Sent 1024 bytes to 10.1.2.4 Received 1024 bytes from 10.1.3.3 Received 1024 bytes from 10.1.3.2 Received 1024 bytes from 10.1.3.1 Received 1024 bytes from 10.1.2.4 Received 1024 bytes from 10.1.2.4 Received 1024 bytes from 10.1.2.4 Sent 1024 bytes to 10.1.2.4 Sent 1024 bytes to 10.1.2.4 Sent 1024 bytes to 10.1.2.4 Received 1024 bytes from 10.1.3.1 Received 1024 bytes from 10.1.3.2 Received 1024 bytes from 10.1.3.3 Received 1024 bytes from 10.1.2.4 Received 1024 bytes from 10.1.2.4 Received 1024 bytes from 10.1.2.4 ==2314== ==2314== HEAP SUMMARY: ==2314== in use at exit: 120 bytes in 1 blocks ==2314== total heap usage: 18,745 allocs, 18,744 frees, 1,294,792 bytes allocated ==2314== ==2314== 120 bytes in 1 blocks are definitely lost in loss record 1 of 1 ==2314== at 0x4C284A8: malloc (vg_replace_malloc.c:236) ==2314== by 0xA424148: getdelim (iogetdelim.c:68) ==2314== by 0xC52FEB2: ??? (in /lib/libselinux.so.1) ==2314== by 0xC538465: ??? (in /lib/libselinux.so.1) ==2314== by 0xC5282D2: ??? (in /lib/libselinux.so.1) ==2314== ==2314== LEAK SUMMARY: ==2314== definitely lost: 120 bytes in 1 blocks ==2314== indirectly lost: 0 bytes in 0 blocks ==2314== possibly lost: 0 bytes in 0 blocks ==2314== still reachable: 0 bytes in 0 blocks ==2314== suppressed: 0 bytes in 0 blocks ==2314== ==2314== For counts of detected and suppressed errors, rerun with: -v ==2314== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 4 from 4)