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

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



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


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