projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d0c275
)
dtcm: Coverity 88675
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 21:14:31 +0000
(22:14 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 21:14:31 +0000
(22:14 +0100)
cde/programs/dtcm/server/reutil.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/server/reutil.c
b/cde/programs/dtcm/server/reutil.c
index dfc0fc2f4dcd409beddb3e0775ade354048d71a2..1d7f3520fe8e4eab4828b5e631e2c0643e3461a1 100644
(file)
--- a/
cde/programs/dtcm/server/reutil.c
+++ b/
cde/programs/dtcm/server/reutil.c
@@
-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;
}