[Darshan-commits] [Git][darshan/darshan][master] fix memory leak in mpiio shutdown benchmark

Shane Snyder xgitlab at cels.anl.gov
Tue Aug 9 13:25:07 CDT 2016


Shane Snyder pushed to branch master at darshan / darshan


Commits:
81c31e82 by Shane Snyder at 2016-08-09T13:24:48-05:00
fix memory leak in mpiio shutdown benchmark

- - - - -


1 changed file:

- darshan-runtime/lib/darshan-mpiio.c


Changes:

=====================================
darshan-runtime/lib/darshan-mpiio.c
=====================================
--- a/darshan-runtime/lib/darshan-mpiio.c
+++ b/darshan-runtime/lib/darshan-mpiio.c
@@ -1247,6 +1247,9 @@ void darshan_mpiio_shutdown_bench_setup(int test_case)
             return;
     }
 
+    free(fh_array);
+    free(size_array);
+
     return;
 }
 



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/81c31e82ab001c84d21bf1cd30a0ab2d1df1ee83
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20160809/877f6d20/attachment.html>


More information about the Darshan-commits mailing list