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)
commit6d445a8aae64a0dc320dd651c5f8f76edb7adc07
treef2bcdd9f78a95c4acc038fa37d7efdb37c640db2
parent4e4d529f723c1fa0f6f60be931cf26b0b0fe9b80
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