]> git.ipfire.org Git - thirdparty/qemu.git/commit
qemu-sockets: Fix potential memory leak
authorStefan Weil <sw@weilnetz.de>
Sat, 1 Sep 2012 07:40:26 +0000 (09:40 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 12 Oct 2012 02:44:20 +0000 (21:44 -0500)
commit3c980e22acc8fcb070688417eb0d6d35d80c2b6b
tree742cf53902ac97b6de343854c8aea766389eebdf
parent907a34c9d7038abd68f9c06f026d7f049b5dbbe5
qemu-sockets: Fix potential memory leak

The old code leaks variable 'peer'.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
(cherry picked from commit 39b384591fda27d6e1213cea0b11b1ebe0ed4b74)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qemu-sockets.c