libDtSearch: Coverity 86426
authorPeter Howkins <flibble@users.sf.net>
Mon, 2 Jul 2018 22:21:07 +0000 (23:21 +0100)
committerPeter Howkins <flibble@users.sf.net>
Mon, 2 Jul 2018 22:21:07 +0000 (23:21 +0100)
cde/lib/DtSearch/ocf.c

index 61e78f40c22a7f18c437bbed84eaad9e597ee8c7..56ce7ae65bb59ce2c33bfd2d901f873e446107a0 100644 (file)
@@ -889,6 +889,7 @@ GOT_FULLNAME:
            "%s Status unavailable for configuration file '%s': %s"),
            PROGNAME"1404", fullname, strerror(errno));
        DtSearchAddMessage (sprintbufp);
+       fclose(fptr);
        return FALSE;
     }
     OE_sitecnfg_mtime = statbuf.st_mtime;