diff options
author | Prasad J Pandit | 2018-12-12 18:58:17 +0100 |
---|---|---|
committer | Marcel Apfelbaum | 2018-12-22 10:09:57 +0100 |
commit | cce648613bc802be1b894227f7fd94d88476ea07 (patch) | |
tree | 7b1f0cf065ac6c7c676a9d8b36e756ea4c7d54ff /hw/rdma/rdma_backend.c | |
parent | docs: Update pvrdma device documentation (diff) | |
download | qemu-cce648613bc802be1b894227f7fd94d88476ea07.tar.gz qemu-cce648613bc802be1b894227f7fd94d88476ea07.tar.xz qemu-cce648613bc802be1b894227f7fd94d88476ea07.zip |
pvrdma: release device resources in case of an error
If during pvrdma device initialisation an error occurs,
pvrdma_realize() does not release memory resources, leading
to memory leakage.
Reported-by: Li Qiang <liq3ea@163.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-Id: <20181212175817.815-1-ppandit@redhat.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'hw/rdma/rdma_backend.c')
0 files changed, 0 insertions, 0 deletions