aboutsummaryrefslogtreecommitdiff
path: root/tests/test-string-output-visitor.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-05-31 13:47:08 +0200
committerMichael Roth <mdroth@linux.vnet.ibm.com>2013-06-18 13:00:25 -0500
commit1b94fc4b9aeee5c9ce658a0486315ec20ea371d0 (patch)
tree6083cf0cad98f36d4a7bd660a16b1efea325337a /tests/test-string-output-visitor.c
parent5e690bb9748e50e0deb406e982a17c0c7b6e65cf (diff)
downloadqemu-1b94fc4b9aeee5c9ce658a0486315ec20ea371d0.zip
qemu-1b94fc4b9aeee5c9ce658a0486315ec20ea371d0.tar.gz
qemu-1b94fc4b9aeee5c9ce658a0486315ec20ea371d0.tar.bz2
iscsi: simplify freeing of tasks
Always free them in the iscsi_aio_*_acb functions and remove the checks in their callers. Remove ifs when the task struct was previously dereferenced (spotted by Coverity). Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> (cherry picked from commit f0d2a4d4d63dd2f0f3ecb2d591b979b0e7f24a22) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'tests/test-string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions