Commit 63f69cd3 authored by Philip Carns's avatar Philip Carns
Browse files

free resources properly in example

parent 7f5f77e1
......@@ -170,6 +170,8 @@ int main(int argc, char **argv)
margo_forward(mid, handle, NULL);
HG_Addr_free(hg_class, svr_addr);
/* shut down everything */
......@@ -72,6 +72,8 @@ static void my_rpc_ult(hg_handle_t handle)
abt_io_close(aid, fd);
HG_Free_input(handle, &in);
hret = HG_Respond(handle, NULL, NULL, &out);
assert(hret == HG_SUCCESS);
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