dtcm: Coverity 88888
authorPeter Howkins <flibble@users.sf.net>
Wed, 4 Jul 2018 03:01:43 +0000 (04:01 +0100)
committerPeter Howkins <flibble@users.sf.net>
Wed, 4 Jul 2018 03:01:43 +0000 (04:01 +0100)
cde/programs/dtcm/server/cmsfunc.c

index fcccefd8c3ba82a16dadedec454ec835f693c3ff..79f02e55508da4d70326ce0874bdf32255ccd7ce 100644 (file)
@@ -1320,6 +1320,8 @@ _ListCalendarNames(uint *num_names, char ***names)
                }
        }
 
+       closedir(dirp);
+
        if (num > 0) {
                *num_names = num;
                *names = names_r;