diff options
| author | Ram Amrani <Ram.Amrani@Cavium.com> | 2017-01-24 14:51:42 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-01-24 23:35:07 +0300 |
| commit | 9c1e0228ab35e52d30abf4b5629c28350833fbcb (patch) | |
| tree | ce82f7a64535c16e17cee5cef17a63a1de129c6e /lib/mpi/mpi-cmp.c | |
| parent | af2b14b8b8ae21b0047a52c767ac8b44f435a280 (diff) | |
| download | linux-9c1e0228ab35e52d30abf4b5629c28350833fbcb.tar.xz | |
RDMA/qedr: Fix and simplify memory leak in PD alloc
Free the PD if no internal resources were available. Move userspace
code under the relevant 'if'.
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
