mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Coverity 174810
This commit is contained in:
parent
39461d7548
commit
e91f12cc54
1 changed files with 2 additions and 0 deletions
|
@ -1853,6 +1853,8 @@ reset_timer(Calendar *c) {
|
|||
_csa_iso8601_to_tick(reminders[0].run_time, &reminder_tick);
|
||||
c->view->next_alarm_id = XtAppAddTimeOut(c->xcontext->app,
|
||||
(max(reminder_tick - now(), 1) * 1000), reminder_driver, c);
|
||||
} else {
|
||||
free(reminders);
|
||||
}
|
||||
|
||||
return stat;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue