diff options
author | Philipp Lohmann <Philipp.Lohmann@Sun.COM> | 2009-10-09 15:11:54 +0200 |
---|---|---|
committer | Philipp Lohmann <Philipp.Lohmann@Sun.COM> | 2009-10-09 15:11:54 +0200 |
commit | ee5f167fdf02dc33b9bbe2ca6b2c30f9ca353b5b (patch) | |
tree | 12e674cd5c93de693941c36a570b9ce1292020bd /cpputools | |
parent | 6c454a61745f73825b843a24a912c2976d1308e5 (diff) | |
parent | 6107d76a57d3d5f5e0303d049558eb613ed33ae5 (diff) |
merge with m61
Diffstat (limited to 'cpputools')
-rwxr-xr-x | cpputools/source/regcomplazy/regcomplazy.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpputools/source/regcomplazy/regcomplazy.cxx b/cpputools/source/regcomplazy/regcomplazy.cxx index 69fd77446156..abcb2c187c08 100755 --- a/cpputools/source/regcomplazy/regcomplazy.cxx +++ b/cpputools/source/regcomplazy/regcomplazy.cxx @@ -131,6 +131,8 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) sBuffer.append(pBuffer, readSize); } } + fclose(fDescr); + fDescr = 0; // just to be sure noone tries to use the file ever after } OString sDescr = sBuffer.makeStringAndClear(); |