Commit 2e1e8958 authored by Shane Snyder's avatar Shane Snyder

bug fix in freeing buffer in bake-p2p-bw

parent 2d039136
...@@ -231,7 +231,7 @@ int main(int argc, char **argv) ...@@ -231,7 +231,7 @@ int main(int argc, char **argv)
if(g_opts.diag_file_name) if(g_opts.diag_file_name)
margo_diag_dump(mid, g_opts.diag_file_name, 1); margo_diag_dump(mid, g_opts.diag_file_name, 1);
if(rank == 0) if(rank > 0)
free(g_buffer); free(g_buffer);
margo_finalize(mid); margo_finalize(mid);
......
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