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:
Richard Cohen 2023-07-06 18:51:39 +01:00
parent e43982375c
commit 4c48134d91

View File

@ -156,6 +156,7 @@ protected:
m_import_acc->free();
m_dest_acc->free();
m_trans->free();
g_list_free (m_splitList);
m_split->free();
}