[PATCH] tests/virhostcputest: Remove duplicit g_autofree

Martin Kletzander via Devel posted 1 patch 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/a52ba0ae7b8acae71c8ddf24a07e1b17b82f4c8d.1774518459.git.mkletzan@redhat.com
tests/virhostcputest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] tests/virhostcputest: Remove duplicit g_autofree
Posted by Martin Kletzander via Devel 1 week ago
From: Martin Kletzander <mkletzan@redhat.com>

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
---
Pushed as trivial.

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

diff --git a/tests/virhostcputest.c b/tests/virhostcputest.c
index cf310cb4cec4..4e65e5febf93 100644
--- a/tests/virhostcputest.c
+++ b/tests/virhostcputest.c
@@ -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);
-- 
2.53.0