[libvirt PATCH 09/15] logging: replace VIR_FREE with g_free in all *Dispose() functions

Laine Stump laine at redhat.com
Thu Feb 4 04:38:28 UTC 2021


Signed-off-by: Laine Stump <laine at redhat.com>
---
 src/logging/log_handler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/logging/log_handler.c b/src/logging/log_handler.c
index 45a4763525..a77c1e0250 100644
--- a/src/logging/log_handler.c
+++ b/src/logging/log_handler.c
@@ -352,7 +352,7 @@ virLogHandlerDispose(void *obj)
         handler->inhibitor(false, handler->opaque);
         virLogHandlerLogFileFree(handler->files[i]);
     }
-    VIR_FREE(handler->files);
+    g_free(handler->files);
 }
 
 
-- 
2.29.2




More information about the libvir-list mailing list