img_convert(): Only try to free bs[] entries if bs is valid.
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 6 Dec 2010 14:25:36 +0000 (15:25 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 14 Dec 2010 14:44:21 +0000 (15:44 +0100)
commit31ca34b8cc2efe1b7e3f726dedb30c450a81abaf
treee942d3f2db45fd145d4732674ad7f2745d944e59
parent5bdf61fdd76b5ca7101353abbdbcd1ed692fa9e2
img_convert(): Only try to free bs[] entries if bs is valid.

This allows for jumping to 'out:' consistently for error exit.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-img.c