margo poolset does not free free buffers properly
Reproduceable with bake-p2p-bw benchmark from sds-tests repo when executed with -i option. On InfiniBand systems it produces an error on shutdown because verbs is stricter about resource leaks on shutdown.
When the poolset is destroyed, it calls margo_bulk_pool_destroy() for each pool in the set. This function exits early here before actually destroying any buffers:
https://xgitlab.cels.anl.gov/sds/margo/blob/master/src/margo-bulk-pool.c#L127