projects
/
platform
/
core
/
appfw
/
shortcut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34a98dd
)
Fix double free
73/223773/1
submit/tizen/20200204.015346
author
Daehyeon Jung
<darrenh.jung@samsung.com>
Tue, 4 Feb 2020 01:39:37 +0000
(10:39 +0900)
committer
Daehyeon Jung
<darrenh.jung@samsung.com>
Tue, 4 Feb 2020 01:40:12 +0000
(10:40 +0900)
Change-Id: I8dd565462ff0f4a8f4f16b622db06aa2aa3d2abf
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
lib/src/shortcut_internal.c
patch
|
blob
|
history
diff --git
a/lib/src/shortcut_internal.c
b/lib/src/shortcut_internal.c
index
5782a09
..
ecb2328
100644
(file)
--- a/
lib/src/shortcut_internal.c
+++ b/
lib/src/shortcut_internal.c
@@
-588,6
+588,7
@@
int _ready_to_send(char **appid, char **request_id)
if (*request_id == NULL) {
SHORTCUT_ERR("Can't get request_id");
free(*appid);
+ *appid = NULL;
return SHORTCUT_ERROR_OUT_OF_MEMORY;
}