|
|
218e99 |
From 6340a1e18aaaa236bb09680fdae5c5c58ec2a75b Mon Sep 17 00:00:00 2001
|
|
|
218e99 |
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
218e99 |
Date: Mon, 14 Oct 2013 13:35:10 +0200
|
|
|
218e99 |
Subject: [PATCH 03/18] qemu-socket: drop pointless allocation
|
|
|
218e99 |
|
|
|
218e99 |
RH-Author: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
218e99 |
Message-id: <1381757723-23134-3-git-send-email-kraxel@redhat.com>
|
|
|
218e99 |
Patchwork-id: 54849
|
|
|
218e99 |
O-Subject: [RHEL-7 qemu-kvm PATCH 02/15] qemu-socket: drop pointless allocation
|
|
|
218e99 |
Bugzilla: 922010
|
|
|
218e99 |
RH-Acked-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
218e99 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
218e99 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
218e99 |
|
|
|
218e99 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
218e99 |
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
218e99 |
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
|
|
|
218e99 |
(cherry picked from commit c1204afc7c048cf58b0a8f1c11886f36ca73ef28)
|
|
|
218e99 |
---
|
|
|
218e99 |
util/qemu-sockets.c | 1 -
|
|
|
218e99 |
1 file changed, 1 deletion(-)
|
|
|
218e99 |
|
|
|
218e99 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
218e99 |
---
|
|
|
218e99 |
util/qemu-sockets.c | 1 -
|
|
|
218e99 |
1 files changed, 0 insertions(+), 1 deletions(-)
|
|
|
218e99 |
|
|
|
218e99 |
diff --git a/util/qemu-sockets.c b/util/qemu-sockets.c
|
|
|
218e99 |
index 86fb09c..35023a8 100644
|
|
|
218e99 |
--- a/util/qemu-sockets.c
|
|
|
218e99 |
+++ b/util/qemu-sockets.c
|
|
|
218e99 |
@@ -871,7 +871,6 @@ SocketAddress *socket_parse(const char *str, Error **errp)
|
|
|
218e99 |
}
|
|
|
218e99 |
} else {
|
|
|
218e99 |
addr->kind = SOCKET_ADDRESS_KIND_INET;
|
|
|
218e99 |
- addr->inet = g_new(InetSocketAddress, 1);
|
|
|
218e99 |
addr->inet = inet_parse(str, errp);
|
|
|
218e99 |
if (addr->inet == NULL) {
|
|
|
218e99 |
goto fail;
|
|
|
218e99 |
--
|
|
|
218e99 |
1.7.1
|
|
|
218e99 |
|