我valgrind --tool=memcheck --leak-check=full ./Monocular-Inertial/mono_inertial_euroc
用来检查我的文件,我的文件在哪里./Monocular-Inertial/mono_inertial_euroc
,但是 HEAP 总结有问题。
HEAP SUMMARY:
==9189== in use at exit: 316,622 bytes in 2,183 blocks
==9189== total heap usage: 2,941 allocs, 758 frees, 482,371 bytes allocated
==9189==
==9189== 16 bytes in 1 blocks are possibly lost in loss record 113 of 671
==9189== at 0x4C37BFD: calloc (vg_replace_malloc.c:1328)
==9189== by 0x10D7AC30: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4)
==9189== by 0x10B032FE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5600.4)
==9189== by 0x10B08530: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5600.4)
==9189== by 0x10AE63BE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5600.4)
==9189== by 0x10AE0277: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5600.4)
==9189== by 0x40108D2: call_init (dl-init.c:72)
==9189== by 0x40108D2: _dl_init (dl-init.c:119)
==9189== by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
我cmake
用来编译我的文件,它需要修改我的CMakelist.txt
,怎么办?