Fix memory leak when updating IB port
I think this is really a libibumad bug, but this works around the problem. When calling umad_get_port() the library pays no attention to the fact that the port->pkeys is already allocated and just calloc()s right over top of the existing memory.
Fix memory leak when updating IB port
I think this is really a libibumad bug, but this works around
the problem. When calling umad_get_port() the library pays no
attention to the fact that the port->pkeys is already allocated
and just calloc()s right over top of the existing memory.