Valgrinded version 7242 this time with;
- make DEBUG=1 OSCAM_BIN=oscam-dbg
- valgrind --leak-check=full --show-reachable=yes --error-limit=no --undef-value-errors=no --log-file=valgrind.log ./oscam-dbg -b -r0
See full debug log here: http://pastebin.com/2Mm5FrrK
ThanksCode:==30845== 308,242,688 (294,250,112 direct, 13,992,576 indirect) bytes in 353,666 blocks are definitely lost in loss record 88 of 88 ==30845== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==30845== by 0x46B1B1: cs_malloc (oscam-simples.c:711) ==30845== by 0x408907: cs_cache_push_to_client (oscam.c:1791) ==30845== by 0x408CD0: cs_cache_push (oscam.c:1880) ==30845== by 0x409761: cs_add_cache_int (oscam.c:2078) ==30845== by 0x409B5D: cs_add_cache (oscam.c:2130) ==30845== by 0x41D0A5: cc_cache_push_in (module-cccam.c:2110) ==30845== by 0x41E1AB: cc_parse_msg (module-cccam.c:2345) ==30845== by 0x4210D2: cc_recv (module-cccam.c:3056) ==30845== by 0x410127: work_thread (oscam.c:4053) ==30845== by 0x4E39E99: start_thread (pthread_create.c:308) ==30845== ==30845== LEAK SUMMARY: ==30845== definitely lost: 294,265,070 bytes in 353,703 blocks ==30845== indirectly lost: 13,996,976 bytes in 16,833 blocks ==30845== possibly lost: 73,296 bytes in 113 blocks ==30845== still reachable: 1,462,771 bytes in 4,828 blocks ==30845== suppressed: 0 bytes in 0 blocks












