Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cristian Simarro
darshan
Commits
ce3d9ff3
Commit
ce3d9ff3
authored
Nov 30, 2016
by
Shane Snyder
Browse files
free dxt buffers at shutdown time
parent
c599503b
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-runtime/lib/darshan-core.c
View file @
ce3d9ff3
...
...
@@ -607,6 +607,12 @@ void darshan_core_shutdown()
final_core
->
log_hdr_p
->
mod_map
[
i
].
len
=
gz_fp
-
final_core
->
log_hdr_p
->
mod_map
[
i
].
off
;
/* XXX: DXT manages its own module memory buffers, so we need to
* explicitly free them
*/
if
(
i
==
DXT_POSIX_MOD
||
i
==
DXT_MPIIO_MOD
)
free
(
mod_buf
);
/* error out if the log append failed */
DARSHAN_MPI_CALL
(
PMPI_Allreduce
)(
&
ret
,
&
all_ret
,
1
,
MPI_INT
,
MPI_LOR
,
MPI_COMM_WORLD
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment