dtcm: Coverity 88183, 88208, 89289
authorPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 15:50:07 +0000 (16:50 +0100)
committerPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 15:50:07 +0000 (16:50 +0100)
cde/programs/dtcm/server/cmscalendar.c

index b340288464fa0cac4ec5f3ead05fb3583ca9a094..0bdd2e9cb6d4f54d934d06d9c50d272276a24e61 100644 (file)
@@ -253,6 +253,8 @@ _DtCmsFreeCalendar(_DtCmsCalendar *cal)
 
        if (cal->list)
                hc_destroy(cal->list, NULL);
+
+       free(cal);
 }
 
 /*