Commit 070b55a7 authored by Shane Snyder's avatar Shane Snyder

remember to free the handle or hg complains

parent 7294f419
...@@ -76,6 +76,7 @@ int main(int argc, char **argv) ...@@ -76,6 +76,7 @@ int main(int argc, char **argv)
hret = margo_forward(mid, handle, NULL); hret = margo_forward(mid, handle, NULL);
assert(hret == HG_SUCCESS); assert(hret == HG_SUCCESS);
margo_destroy(handle);
margo_addr_free(mid, svr_addr); margo_addr_free(mid, svr_addr);
/* shut down everything */ /* shut down everything */
......
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