GitLab maintenance scheduled for Today, 2020-08-11, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit 4f420365 authored by Philip Carns's avatar Philip Carns

fixed more generic bug of darshan_finalize() causing a segfault if

darshan_initialize() is not executed first


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@109 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 903c616d
...@@ -204,6 +204,7 @@ void darshan_shutdown(int timing_flag) ...@@ -204,6 +204,7 @@ void darshan_shutdown(int timing_flag)
if(!darshan_global_job) if(!darshan_global_job)
{ {
CP_UNLOCK(); CP_UNLOCK();
return;
} }
/* disable further tracing while hanging onto the data so that we can /* disable further tracing while hanging onto the data so that we can
* write it out * write it out
......
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