hw/rdma: Do not use bitmap_zero_extend to free bitmap
commit9a3053d2e8104c9c8192d79c6294918a6fb7742b
authorYuval Shaia <yuval.shaia@oracle.com>
Fri, 21 Dec 2018 14:40:35 +0000 (21 16:40 +0200)
committerMarcel Apfelbaum <marcel.apfelbaum@gmail.com>
Sat, 22 Dec 2018 09:09:57 +0000 (22 11:09 +0200)
tree69a0a277726fe377168b5e3d037a12c23e2380fa
parentffa65d97fcdce790d25c7b059cf71e6561499530
hw/rdma: Do not use bitmap_zero_extend to free bitmap

bitmap_zero_extend is designed to work for extending, not for
shrinking.
Using g_free instead.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
hw/rdma/rdma_rm.c