Merge pull request #2584 from laanwj/2013_04_shrinkdebugfile_leak

Prevent prevent file descriptor leak in ShrinkDebugFile()
This commit is contained in:
Wladimir J. van der Laan 2013-04-27 07:03:20 -07:00
commit 85157ae018

View file

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