summaryrefslogtreecommitdiffstats
path: root/linux-user/arm/target_structs.h
diff options
context:
space:
mode:
authorPrasad J Pandit2018-12-12 20:30:37 +0100
committerMarcel Apfelbaum2018-12-22 10:09:57 +0100
commit509f57c98e7536905bb4902363d0cba66ce7e089 (patch)
tree4071728fd4e6e62aecd9c21bfc15d206dbd3c546 /linux-user/arm/target_structs.h
parentpvrdma: check number of pages when creating rings (diff)
downloadqemu-509f57c98e7536905bb4902363d0cba66ce7e089.tar.gz
qemu-509f57c98e7536905bb4902363d0cba66ce7e089.tar.xz
qemu-509f57c98e7536905bb4902363d0cba66ce7e089.zip
pvrdma: release ring object in case of an error
create_cq and create_qp routines allocate ring object, but it's not released in case of an error, leading to memory leakage. Reported-by: Li Qiang <liq3ea@163.com> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'linux-user/arm/target_structs.h')
0 files changed, 0 insertions, 0 deletions