Fix in file qemu-sockets.c
authorvibi <vibi_sreenivasan@cms.com>
Wed, 6 May 2009 09:57:03 +0000 (15:27 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 8 May 2009 21:11:49 +0000 (16:11 -0500)
commit39b6efc8067de56d9955d015e4a7472877a3fe89
treef2bcdd9f78a95c4acc038fa37d7efdb37c640db2
parent4e12cd946f9e7a6e3d35bcce0bc7bfe38cec4eb7
Fix in file qemu-sockets.c

1) Changed usage of malloc,free,strdup to qemu_malloc,qemu_free,qemu_strdup
  2) Some coding style fixes (based on CODING_STYLE document)
  3) Free struct addrinfo *res after failure of listen

Signed-off-by: vibi <vibi_sreenivasan@cms.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-sockets.c