projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
160728d
)
dtcm: Coverity 89621
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 02:51:15 +0000
(
03:51
+0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 02:51:15 +0000
(
03:51
+0100)
cde/programs/dtcm/server/log.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/server/log.c
b/cde/programs/dtcm/server/log.c
index dc1da3c634f75bdb15e6cafb888354259e587e12..614cb992d89b1d9d0572f9941240ad1f4b476f1e 100644
(file)
--- a/
cde/programs/dtcm/server/log.c
+++ b/
cde/programs/dtcm/server/log.c
@@
-651,6
+651,7
@@
_DtCmsTruncateFile(char *calendar, int size)
if(-1 == ftruncate(f, size)) {
perror(strerror(errno));
}
+ close(f);
}
free(log);