Commit 7a5a0d46 authored by Jonathan Jenkins's avatar Jonathan Jenkins

clean up after thread_sleep

parent c839222b
......@@ -748,6 +748,10 @@ void margo_thread_sleep(
ABT_cond_wait(sleep_cb_dat.cond, sleep_cb_dat.mutex);
ABT_mutex_unlock(sleep_cb_dat.mutex);
/* clean up */
ABT_mutex_free(&sleep_cb_dat.mutex);
ABT_cond_free(&sleep_cb_dat.cond);
return;
}
......
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