Commit ef7e7217 authored by Matthieu Dorier's avatar Matthieu Dorier

corrected bug in margo_cleanup when calling finalize callbacks

parent c1ef589c
......@@ -416,6 +416,7 @@ static void margo_cleanup(margo_instance_id mid)
/* call finalize callbacks */
struct margo_finalize_cb* fcb = mid->finalize_cb;
while(fcb) {
mid->finalize_cb = fcb->next;
struct margo_finalize_cb* tmp = fcb;
fcb = fcb->next;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment