lib/mu: fix a few leaks
Thanks to valgrind
This commit is contained in:
@ -37,8 +37,12 @@ static void
|
||||
test_query()
|
||||
{
|
||||
allow_warnings();
|
||||
char* tdir;
|
||||
|
||||
tdir = test_mu_common_get_random_tmpdir();
|
||||
Store store{tdir, std::string{MU_TESTMAILDIR}, {}, {}};
|
||||
g_free(tdir);
|
||||
|
||||
Store store{test_mu_common_get_random_tmpdir(), std::string{MU_TESTMAILDIR}, {}, {}};
|
||||
auto&& idx{store.indexer()};
|
||||
|
||||
g_assert_true(idx.start(Indexer::Config{}));
|
||||
|
||||
Reference in New Issue
Block a user