projects
/
platform
/
upstream
/
gumd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4adcb1d
)
Fix memory leak
99/101499/1
accepted/tizen/3.0/common/20161209.160650
accepted/tizen/3.0/ivi/20161209.102240
accepted/tizen/3.0/mobile/20161209.102145
accepted/tizen/3.0/tv/20161209.102206
accepted/tizen/3.0/wearable/20161209.102220
submit/tizen_3.0/20161208.060810
author
Yunmi Ha
<yunmi.ha@samsung.com>
Thu, 1 Dec 2016 09:12:51 +0000
(18:12 +0900)
committer
Yunmi Ha
<yunmi.ha@samsung.com>
Thu, 1 Dec 2016 09:12:51 +0000
(18:12 +0900)
Dynamic memory referenced by 'key' was allocated.
But it was not freed when error was occured at other side.
Change-Id: I18dde46af50f94c5113d102e445711c0083946c0
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
src/common/gum-config.c
patch
|
blob
|
history
diff --git
a/src/common/gum-config.c
b/src/common/gum-config.c
index
7ef69f3
..
9e8e4b3
100755
(executable)
--- a/
src/common/gum-config.c
+++ b/
src/common/gum-config.c
@@
-350,6
+350,7
@@
_load_config (
WARN ("fail to read key '%s/%s': %s", groups[i], keys[j],
err->message);
g_error_free (err);
+ g_free(key);
continue;
}