Hallo,
ich suche gerade mein Programm nach Speicherlecks mit Valgrind ab. Das funktioniert eigentlich auch alles, nur erscheint immer folgendes:
Code:
==8183== 
==8183== HEAP SUMMARY:
==8183==     in use at exit: 215 bytes in 18 blocks
==8183==   total heap usage: 40 allocs, 22 frees, 4,986 bytes allocated
==8183== 
==8183== 215 bytes in 18 blocks are definitely lost in loss record 1 of 1
==8183==    at 0x402911D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==8183==    by 0x4094C2D: (below main) (libc-start.c:226)
==8183== 
==8183== LEAK SUMMARY:
==8183==    definitely lost: 215 bytes in 18 blocks
==8183==    indirectly lost: 0 bytes in 0 blocks
==8183==      possibly lost: 0 bytes in 0 blocks
==8183==    still reachable: 0 bytes in 0 blocks
==8183==         suppressed: 0 bytes in 0 blocks
==8183== 
==8183== For counts of detected and suppressed errors, rerun with: -v
==8183== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 3 from 3)
Für mich scheint das so, als würde das Problem nicht bei mir liegen. Stimmt das und was kann ich da machen?

VG