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