Browse Source

Prevent prevent file descriptor leak in ShrinkDebugFile()

0.8
Tariq Bashir 12 years ago committed by Wladimir J. van der Laan
parent
commit
6e34d9b12a
  1. 2
      src/util.cpp

2
src/util.cpp

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

Loading…
Cancel
Save