From: Peter Howkins Date: Wed, 4 Jul 2018 21:41:46 +0000 (+0100) Subject: dtcm: Coverity 88904 X-Git-Tag: 2.3.0a~176 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3709d1293f61bce62fdacd71125cf06114517594;p=oweals%2Fcde.git dtcm: Coverity 88904 --- diff --git a/cde/programs/dtcm/server/reminder.c b/cde/programs/dtcm/server/reminder.c index ac48232c..948ef51e 100644 --- a/cde/programs/dtcm/server/reminder.c +++ b/cde/programs/dtcm/server/reminder.c @@ -729,6 +729,7 @@ _RemoveReminderFromQ( } else { tick = ClosestTick(entry->key.time, entry->key.time, lnode->re, &restate); + free(restate); if (do_old = (tick - lead < remq->cutoff)) rptr1 = _RemoveReminderFromList(&remq->oldhead[qindex], entry, starttime, delfwd);