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:
19d0baf
)
dtcm: Coverity 88107
author
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 19:23:57 +0000
(20:23 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Wed, 4 Jul 2018 19:23:57 +0000
(20:23 +0100)
cde/programs/dtcm/server/cmsfunc.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtcm/server/cmsfunc.c
b/cde/programs/dtcm/server/cmsfunc.c
index 86dc10f057df8d29497f2121fa9af53256d39f78..787fa4bd281b89be9f47fceef8743f6e5b4fc22d 100644
(file)
--- a/
cde/programs/dtcm/server/cmsfunc.c
+++ b/
cde/programs/dtcm/server/cmsfunc.c
@@
-1017,8
+1017,10
@@
cms_update_entry_5_svc(cms_update_args *args, struct svc_req *svcrq)
if (res.stat == CSA_SUCCESS)
cal->modified = B_TRUE;
- else
+ else {
+ free(appt);
return (&res);
+ }
/* do callback */
cal->rlist = _DtCmsDoV1CbForV4Data(cal->rlist, user, args->pid,