]> git.proxmox.com Git - qemu.git/commit
bochs: Fix bdrv_open() error handling
authorKevin Wolf <kwolf@redhat.com>
Fri, 25 Jan 2013 16:07:27 +0000 (17:07 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 1 Feb 2013 13:58:28 +0000 (14:58 +0100)
commit5b7d7dfd198f06ec5edd0c857291c5035c5c060f
tree96c41f84e07159f1d01b82861ccddae9f2e8bed3
parent6f74c260b45a8f94007929c800d95c2303f1a7ec
bochs: Fix bdrv_open() error handling

Return -errno instead of -1 on errors. While touching the
code, fix a memory leak.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/bochs.c