]> git.proxmox.com Git - qemu.git/commit
readline: Remove unneeded qemu_mallocz() check
authorLuiz Capitulino <lcapitulino@redhat.com>
Mon, 15 Jun 2009 20:37:31 +0000 (17:37 -0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Jun 2009 20:18:37 +0000 (15:18 -0500)
commit759754f01ff64d5b85d7e7357b9e77e8617a8e41
tree91ce359f1b06a03ac4473523c9243ca754efaa64
parent9923e05e1adbba54b1a646ae39f8aa8fc88d78a6
readline: Remove unneeded qemu_mallocz() check

qemu_mallocz() already checks for NULL returns, readline_init() doesn't
have to do it again.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
readline.c