diff options
author | Prasad J Pandit | 2018-12-12 20:30:37 +0100 |
---|---|---|
committer | Marcel Apfelbaum | 2018-12-22 10:09:57 +0100 |
commit | 509f57c98e7536905bb4902363d0cba66ce7e089 (patch) | |
tree | 4071728fd4e6e62aecd9c21bfc15d206dbd3c546 /linux-user/uname.c | |
parent | pvrdma: check number of pages when creating rings (diff) | |
download | qemu-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/uname.c')
0 files changed, 0 insertions, 0 deletions