[PATCH 13/14] virkeepalive: Remove erroneous VIR_FREE(msg)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The 'msg' free is handled via virNetMessageFree() already.
---
 src/rpc/virkeepalive.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/rpc/virkeepalive.c b/src/rpc/virkeepalive.c
index 5fe9e8b..f57fed4 100644
--- a/src/rpc/virkeepalive.c
+++ b/src/rpc/virkeepalive.c
@@ -108,7 +108,6 @@ virKeepAliveMessage(virKeepAlivePtr ka, int proc)
 
 error:
     VIR_WARN("Failed to generate keepalive %s", procstr);
-    VIR_FREE(msg);
     return NULL;
 }
 
-- 
1.7.11.7

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]