mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Valgrind: fix "definitely lost" memory in test - test-import-backend
==66703== 24 bytes in 1 blocks are definitely lost in loss record 116 of 284 ==66703== at 0x4843828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==66703== by 0x4A79948: g_malloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7600.1) ==66703== by 0x4A6D909: g_list_prepend (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7600.1) ==66703== by 0x31EB41: ImportBackendTest::SetUp() (gtest-import-backend.cpp:145)
This commit is contained in:
parent
e43982375c
commit
4c48134d91
@ -156,6 +156,7 @@ protected:
|
||||
m_import_acc->free();
|
||||
m_dest_acc->free();
|
||||
m_trans->free();
|
||||
g_list_free (m_splitList);
|
||||
m_split->free();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user