erri120 / rpgmpacker

Simple CLI program for packaging RPG Maker games to use in an automated build/deploy pipeline.
MIT License
28 stars 3 forks source link

Run through Valgrind #12

Closed erri120 closed 3 years ago

erri120 commented 3 years ago

Initial run:

==6660== Memcheck, a memory error detector
==6660== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==6660== Using Valgrind-3.15.0-608cb11914-20190413 and LibVEX; rerun with -h for copyright info
==6660== Command: ./RPGMPacker
==6660== Parent PID: 4618
==6660== 
--6660-- 
--6660-- Valgrind options:
--6660--    --leak-check=full
--6660--    --show-leak-kinds=all
--6660--    --track-origins=yes
--6660--    --verbose
--6660--    --log-file=valgrind-out.txt
...
==6660== HEAP SUMMARY:
==6660==     in use at exit: 6,314 bytes in 1 blocks
==6660==   total heap usage: 33,768 allocs, 33,767 frees, 16,544,521 bytes allocated
==6660== 
==6660== Searching for pointers to 1 not-freed blocks
==6660== Checked 144,744 bytes
==6660== 
==6660== 6,314 bytes in 1 blocks are definitely lost in loss record 1 of 1
==6660==    at 0x483C583: operator new[](unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==6660==    by 0x1F595B: updateSystemJson(ghc::filesystem::path const&, ghc::filesystem::path const&, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<spdlog::logger> const&, std::shared_ptr<spdlog::logger> const&) (in /mnt/e/Projects/rpgmpacker/build/RPGMPacker)
==6660==    by 0x1281E9: main (in /mnt/e/Projects/rpgmpacker/build/RPGMPacker)
==6660== 
==6660== LEAK SUMMARY:
==6660==    definitely lost: 6,314 bytes in 1 blocks
==6660==    indirectly lost: 0 bytes in 0 blocks
==6660==      possibly lost: 0 bytes in 0 blocks
==6660==    still reachable: 0 bytes in 0 blocks
==6660==         suppressed: 0 bytes in 0 blocks
==6660== 
==6660== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)