]> xenbits.xensource.com Git - libvirt.git/commitdiff
logging: replace VIR_FREE with g_free in all *Dispose() functions
authorLaine Stump <laine@redhat.com>
Wed, 3 Feb 2021 20:14:51 +0000 (15:14 -0500)
committerLaine Stump <laine@redhat.com>
Fri, 5 Feb 2021 05:22:09 +0000 (00:22 -0500)
Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/logging/log_handler.c

index 45a47635254b8e20a6237d594bda3adc14fe104e..a77c1e02502c428d0179c7ab35664c61ef083cc0 100644 (file)
@@ -352,7 +352,7 @@ virLogHandlerDispose(void *obj)
         handler->inhibitor(false, handler->opaque);
         virLogHandlerLogFileFree(handler->files[i]);
     }
-    VIR_FREE(handler->files);
+    g_free(handler->files);
 }