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:
4fa9477
)
dtcm: Coverity 88113
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 22:17:18 +0000
(23:17 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 22:17:18 +0000
(23:17 +0100)
cde/programs/dtcm/server/lookup.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/server/lookup.c
b/cde/programs/dtcm/server/lookup.c
index 92d231b5515d15efe2ee7110532997babaab1b4a..31b921f3b57f4be493eafbc506c0d3d313d2c7b5 100644
(file)
--- a/
cde/programs/dtcm/server/lookup.c
+++ b/
cde/programs/dtcm/server/lookup.c
@@
-498,7
+498,7
@@
_EnumerateSequence(
CSA_return_code stat2 = CSA_SUCCESS;
cms_entry *eptr;
time_t fsttick, tick;
- RepeatEventState *restate;
+ RepeatEventState *restate
= NULL
;
eptr = (cms_entry *)lnode->data;
fsttick = eptr->key.time;
@@
-562,6
+562,7
@@
_EnumerateSequence(
eptr->attrs[CSA_ENTRY_ATTR_END_DATE_I].value->\
item.date_time_value = etime;
}
+ free(restate);
return (stat);
}