qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 02/13] qemu-socket: drop pointless allocation


From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH v2 02/13] qemu-socket: drop pointless allocation
Date: Mon, 24 Jun 2013 08:39:45 +0200

Signed-off-by: Gerd Hoffmann <address@hidden>
---
 util/qemu-sockets.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/util/qemu-sockets.c b/util/qemu-sockets.c
index 86fb09c..35023a8 100644
--- a/util/qemu-sockets.c
+++ b/util/qemu-sockets.c
@@ -871,7 +871,6 @@ SocketAddress *socket_parse(const char *str, Error **errp)
         }
     } else {
         addr->kind = SOCKET_ADDRESS_KIND_INET;
-        addr->inet = g_new(InetSocketAddress, 1);
         addr->inet = inet_parse(str, errp);
         if (addr->inet == NULL) {
             goto fail;
-- 
1.7.9.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]