projects
/
platform
/
core
/
uifw
/
stt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f15853
)
Fix memory leak
47/128747/1
accepted/tizen/unified/20170512.023657
submit/tizen/20170511.114242
tizen_4.0.m1_release
author
Suyeon Hwang
<stom.hwang@samsung.com>
Thu, 11 May 2017 07:55:02 +0000
(16:55 +0900)
committer
Suyeon Hwang
<stom.hwang@samsung.com>
Thu, 11 May 2017 07:55:02 +0000
(16:55 +0900)
Change-Id: Icc92e52923df7a227936719dde8cf14ac4ade0dc
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/sttd_client_data.c
patch
|
blob
|
history
diff --git
a/server/sttd_client_data.c
b/server/sttd_client_data.c
index
4ea6667
..
f89349a
100644
(file)
--- a/
server/sttd_client_data.c
+++ b/
server/sttd_client_data.c
@@
-103,6
+103,10
@@
int sttd_client_add(int pid, int uid)
if (NULL == g_client_list) {
SLOG(LOG_ERROR, TAG_STTD, "[Client Data ERROR] Fail to add new client");
+
+ free(info);
+ info = NULL;
+
return STTD_ERROR_OPERATION_FAILED;
}