mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtcm: Coverity 88675
This commit is contained in:
parent
4d0c2752f7
commit
b0a656cf0e
1 changed files with 3 additions and 1 deletions
|
@ -285,7 +285,7 @@ DeriveNewStartTime(
|
|||
Tick end_date;
|
||||
Tick an_event;
|
||||
int num_events;
|
||||
RepeatEventState *res;
|
||||
RepeatEventState *res = NULL;
|
||||
|
||||
/* Count the number of events from the start time to the current time */
|
||||
end_date = old_re->re_end_date;
|
||||
|
@ -309,6 +309,8 @@ DeriveNewStartTime(
|
|||
;
|
||||
}
|
||||
|
||||
free(res);
|
||||
|
||||
return an_event;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue