diff options
author | Prasad J Pandit <pjp@fedoraproject.org> | 2018-12-12 23:28:17 +0530 |
---|---|---|
committer | Marcel Apfelbaum <marcel.apfelbaum@gmail.com> | 2018-12-22 11:09:57 +0200 |
commit | cce648613bc802be1b894227f7fd94d88476ea07 (patch) | |
tree | 7b1f0cf065ac6c7c676a9d8b36e756ea4c7d54ff /hw/rdma/rdma_backend.c | |
parent | 46b69a88241a1e8339a3ffd05050cd418808c71d (diff) |
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