aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorAsias He <[email protected]>2013-04-10 15:06:14 +0800
committerNicholas Bellinger <[email protected]>2013-04-11 01:48:27 -0700
commit7ea206cf3b06704cf2bfc9c9c395094b24dc44a2 (patch)
treea270c2a06611ddd9d062ef01ed5df54fb911e752 /lib/mpi/mpi-internal.h
parentf6da51c3ef07c593a410551af4cad093e2fbe755 (diff)
tcm_vhost: Fix tv_cmd leak in vhost_scsi_handle_vq
If we fail to submit the allocated tv_vmd to tcm_vhost_submission_work, we will leak the tv_vmd. Free tv_vmd on fail path. Signed-off-by: Asias He <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions