diff options
author | Caolán McNamara <cmc@openoffice.org> | 2009-10-29 21:08:12 +0000 |
---|---|---|
committer | Caolán McNamara <cmc@openoffice.org> | 2009-10-29 21:08:12 +0000 |
commit | c1942c7468e9c13cb057ee5a7959760a5b999819 (patch) | |
tree | 6d7cb5d298db6ed340f3991f0811204f10067000 /testshl2 | |
parent | 11b01f3d7e69ff587b1088502e894d7347b5b696 (diff) |
#cmcfixes65: #i106455# fix fortify warnings
Diffstat (limited to 'testshl2')
-rw-r--r-- | testshl2/source/terminate.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testshl2/source/terminate.cxx b/testshl2/source/terminate.cxx index 9ea014a0fbda..b2dc95b0e860 100644 --- a/testshl2/source/terminate.cxx +++ b/testshl2/source/terminate.cxx @@ -119,6 +119,7 @@ int ProcessHandler::readPIDFromFile() if (fscanf(in, "%d", &nPID) != 1) { // fprintf(stderr, "warning: (testshl.cxx) can't read own pid.\n"); + fclose(in); return 0; // exit(0); } |