]> Git Repo - qemu.git/commit
spapr_vscsi: Error handling fixes
authorBenjamin Herrenschmidt <[email protected]>
Mon, 18 Jun 2012 20:02:38 +0000 (20:02 +0000)
committerAlexander Graf <[email protected]>
Sat, 23 Jun 2012 23:04:45 +0000 (01:04 +0200)
commita4d8e8daee324e230b0155915f562743f4fff5d8
tree4985a18dea502942518e9ef236c1e8c2b636455a
parent5af9873d301cf5affec57e2f93650e8700f8251a
spapr_vscsi: Error handling fixes

We were incorrectly g_free'ing an object that isn't allocated
in one error path and failed to release it completely in another

This fixes qemu crashes with some cases of IO errors.

Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
hw/spapr_vscsi.c
This page took 0.030604 seconds and 4 git commands to generate.