[libvirt] [dbus PATCH] connect: fix g_free order in virtDBusConnectFree
Anya Harter
aharter at redhat.com
Mon Jul 2 15:42:08 UTC 2018
so that g_free(connect->nodeDevPath) line appears in alphabetical order
with the rest of the lines
Signed-off-by: Anya Harter <aharter at redhat.com>
---
src/connect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/connect.c b/src/connect.c
index 9ebceaa..9275121 100644
--- a/src/connect.c
+++ b/src/connect.c
@@ -1808,9 +1808,9 @@ virtDBusConnectFree(virtDBusConnect *connect)
if (connect->connection)
virtDBusConnectClose(connect, TRUE);
- g_free(connect->nodeDevPath);
g_free(connect->domainPath);
g_free(connect->networkPath);
+ g_free(connect->nodeDevPath);
g_free(connect->nwfilterPath);
g_free(connect->secretPath);
g_free(connect->storagePoolPath);
--
2.17.1
More information about the libvir-list
mailing list