[ofiwg] memory leak in verbs vrb_create_ep?

Phoebe Buckheister phoebe.buckheister at itwm.fraunhofer.de
Wed Apr 22 09:38:57 PDT 2020

hello list,

while trying out libfabric for a new application i stumbled across
something that looks like a memory leak in vrb_create_ep. it seems that
the rdma_addrinfo there isn't properly freed after successful
rdma_resolve_addr, but it *is* freed in the error path. the
attached patch fixes the memory leak for me, but i'm not sure about
interactions with the rest of the system.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libfabric.patch
Type: text/x-patch
Size: 380 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/ofiwg/attachments/20200422/432a16e5/attachment.bin>

More information about the ofiwg mailing list