mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtcm: Coverity 89593
This commit is contained in:
parent
caee0e9cb5
commit
547cc3e22b
1 changed files with 3 additions and 1 deletions
|
@ -860,7 +860,7 @@ _GetNextActiveTick(
|
||||||
time_t lasttick,
|
time_t lasttick,
|
||||||
RepeatEvent *re)
|
RepeatEvent *re)
|
||||||
{
|
{
|
||||||
RepeatEventState *restate;
|
RepeatEventState *restate = NULL;
|
||||||
time_t tick;
|
time_t tick;
|
||||||
|
|
||||||
for (tick = ClosestTick(target, entry->key.time, re, &restate);
|
for (tick = ClosestTick(target, entry->key.time, re, &restate);
|
||||||
|
@ -870,6 +870,8 @@ _GetNextActiveTick(
|
||||||
if (tick <= 0 || !_DtCmsInExceptionList(entry, tick))
|
if (tick <= 0 || !_DtCmsInExceptionList(entry, tick))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(restate);
|
||||||
return (tick);
|
return (tick);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue