projects
/
platform
/
core
/
api
/
email.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6176b41
)
Coverty issue 109802
25/197625/1
accepted/tizen_4.0_unified
accepted/tizen/4.0/unified/20190114.234308
submit/tizen_4.0/20190114.130152
author
kamaljeet
<kamal.jc@samsung.com>
Mon, 14 Jan 2019 12:40:45 +0000
(18:10 +0530)
committer
kamaljeet
<kamal.jc@samsung.com>
Mon, 14 Jan 2019 12:40:45 +0000
(18:10 +0530)
Change-Id: I69d81424679eaf052d08eb671e76173d601372cc
Signed-off-by: kamaljeet <kamal.jc@samsung.com>
src/email.c
patch
|
blob
|
history
diff --git
a/src/email.c
b/src/email.c
index ee23c9dd2d643a81700d92287808483d34cfe52c..a9cf5d37ede58bb7189e79f2e9838926391f992f 100755
(executable)
--- a/
src/email.c
+++ b/
src/email.c
@@
-560,6
+560,7
@@
int email_set_message_sent_cb(email_h handle, email_message_sent_cb cb, void *us
if (cbcontext == NULL) {
/* LCOV_EXCL_START */
SECURE_SLOGE("[%s] calloc failed", __FUNCTION__);
+ email_destroy_message((email_h)msg_s);
return EMAIL_ERROR_OUT_OF_MEMORY;
/* LCOV_EXCL_STOP */
}