From: Peter Howkins Date: Tue, 3 Jul 2018 17:20:35 +0000 (+0100) Subject: dticon: Coverity 89192 X-Git-Tag: 2.3.0a~236 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=73188e842e5351887d3b795bff68d2e5e3859741;p=oweals%2Fcde.git dticon: Coverity 89192 --- diff --git a/cde/programs/dticon/utils.c b/cde/programs/dticon/utils.c index 91d8294f..49654fb9 100644 --- a/cde/programs/dticon/utils.c +++ b/cde/programs/dticon/utils.c @@ -2342,6 +2342,7 @@ SaveSession( void ) fprintf(stderr, "write() to session failed\n"); XtFree ((char *)path); XtFree ((char *)name); + close(fd); return; }