Re: [PATCH 20/23] qemuxml2arvtest: Use 'g_hash_table_unref' for clearing the qapi schema cache

2021-11-30 Thread Ján Tomko

On a Tuesday in 2021, Peter Krempa wrote:

Signed-off-by: Peter Krempa 


s/arv/argv/ in the commit summary


---
tests/qemuxml2argvtest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Reviewed-by: Ján Tomko 

Jano


signature.asc
Description: PGP signature


[PATCH 20/23] qemuxml2arvtest: Use 'g_hash_table_unref' for clearing the qapi schema cache

2021-11-30 Thread Peter Krempa
Signed-off-by: Peter Krempa 
---
 tests/qemuxml2argvtest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index b3fa676af7..5e4cd7389c 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -823,7 +823,7 @@ mymain(void)
 int ret = 0;
 g_autofree char *fakerootdir = NULL;
 g_autoptr(GHashTable) capslatest = testQemuGetLatestCaps();
-g_autoptr(GHashTable) qapiSchemaCache = virHashNew((GDestroyNotify) 
virHashFree);
+g_autoptr(GHashTable) qapiSchemaCache = virHashNew((GDestroyNotify) 
g_hash_table_unref);
 g_autoptr(GHashTable) capscache = virHashNew(virObjectFreeHashData);
 struct testQemuConf testConf = { .capslatest = capslatest,
  .capscache = capscache,
-- 
2.31.1