Commit 065632ad authored by Matthieu Dorier's avatar Matthieu Dorier

another attempt at solving finalization bug

parent ef7e7217
......@@ -419,7 +419,7 @@ static void margo_cleanup(margo_instance_id mid)
mid->finalize_cb = fcb->next;
(fcb->callback)(fcb->uargs);
struct margo_finalize_cb* tmp = fcb;
fcb = fcb->next;
fcb = mid->finalize_cb;
free(tmp);
}
......
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