]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests/virhostcputest: Remove duplicit g_autofree
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 25 Mar 2026 14:17:17 +0000 (15:17 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 25 Mar 2026 14:44:57 +0000 (15:44 +0100)
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
tests/virhostcputest.c

index cf310cb4cec4c69376036ba230deccc5d8842aaf..4e65e5febf937374da8b876953f766acb91484fb 100644 (file)
@@ -218,7 +218,7 @@ linuxTestNodeCPUStats(const void *data)
     const struct nodeCPUStatsData *testData = data;
     int result = -1;
     g_autofree char *cpustatfile = NULL;
-    g_autofree g_autofree char *outfile = NULL;
+    g_autofree char *outfile = NULL;
 
     cpustatfile = g_strdup_printf("%s/virhostcpudata/linux-cpustat-%s.stat",
                                   abs_srcdir, testData->name);