summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2009-09-25 15:27:34 +0200
committersb <sb@openoffice.org>2009-09-25 15:27:34 +0200
commit3db62040dcaa470c0f69f904abfb82202f628005 (patch)
tree30bc515b2e0271f2f7a8511152848e341884072a /cpputools
parent5261845afc9b0b731441d14fe49ebeef1123c8b7 (diff)
parent8fb94ad47fa73514ec1854825d63d612121dd9b7 (diff)
merged in DEV300_m60
Diffstat (limited to 'cpputools')
-rwxr-xr-xcpputools/source/regcomplazy/regcomplazy.cxx2
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();