diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-06-24 08:39:45 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-06-28 22:10:33 +0400 |
commit | c1204afc7c048cf58b0a8f1c11886f36ca73ef28 (patch) | |
tree | a317c15239843c047ffe17c7d7ae2d21c531c48c /util | |
parent | afde3f8b9923892d21a735993f533e5d8b60e0b0 (diff) |
qemu-socket: drop pointless allocation
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'util')
-rw-r--r-- | util/qemu-sockets.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/util/qemu-sockets.c b/util/qemu-sockets.c index 86fb09c0c4..35023a8a92 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; |