On 2013年01月31日 03:36, John Ferlan wrote:
--- src/rpc/virnetsocket.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc/virnetsocket.c b/src/rpc/virnetsocket.c index 0158970..93980d6 100644 --- a/src/rpc/virnetsocket.c +++ b/src/rpc/virnetsocket.c @@ -704,6 +704,7 @@ int virNetSocketNewConnectSSH(const char *nodename, virBufferEscapeShell(&buf, netcat); if (virBufferError(&buf)) { + virCommandFree(cmd); virBufferFreeAndReset(&buf); virReportOOMError(); return -1;
ACK -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list