Browse Source

Merge pull request #2584 from laanwj/2013_04_shrinkdebugfile_leak

Prevent prevent file descriptor leak in ShrinkDebugFile()
0.8
Wladimir J. van der Laan 12 years ago
parent
commit
85157ae018
  1. 2
      src/util.cpp

2
src/util.cpp

@ -1231,6 +1231,8 @@ void ShrinkDebugFile()
fclose(file); fclose(file);
} }
} }
else if(file != NULL)
fclose(file);
} }

Loading…
Cancel
Save