Commit 9393e587 authored by Matthieu Dorier's avatar Matthieu Dorier

added the case of HG_HANDLE_NULL in margo_destroy

parent cbe1cf0e
......@@ -711,6 +711,9 @@ hg_return_t margo_create(margo_instance_id mid, hg_addr_t addr,
hg_return_t margo_destroy(hg_handle_t handle)
if(handle == HG_HANDLE_NULL)
return HG_SUCCESS;
margo_instance_id mid;
hg_return_t hret = HG_OTHER_ERROR;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment