dtcm: Coverity 88904
authorPeter Howkins <flibble@users.sf.net>
Wed, 4 Jul 2018 21:41:46 +0000 (22:41 +0100)
committerPeter Howkins <flibble@users.sf.net>
Wed, 4 Jul 2018 21:41:46 +0000 (22:41 +0100)
cde/programs/dtcm/server/reminder.c

index ac48232cb71dfc28d300b0fe34ea36b76c31a8e9..948ef51e4b4b1b4cf25e7f7fe6a2115fa10b7ecc 100644 (file)
@@ -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);