Hi, Stash this to fix test leaks:
diff --git a/tests/tpm-crb-test.c b/tests/tpm-crb-test.c index de78a28844..8bf1507e00 100644 --- a/tests/tpm-crb-test.c +++ b/tests/tpm-crb-test.c @@ -81,6 +81,7 @@ static void *emu_tpm_thread(void *data) g_free(s->tpm_msg); s->tpm_msg = NULL; + object_unref(OBJECT(s->tpm_ioc)); return NULL; } @@ -180,6 +181,8 @@ static void *emu_ctrl_thread(void *data) } } + object_unref(OBJECT(ioc)); + object_unref(OBJECT(lioc)); return NULL; }