projects
/
platform
/
core
/
appfw
/
widget-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac67d5e
)
Fix memory leak
67/141967/2
accepted/tizen/3.0/common/20170808.133307
accepted/tizen/3.0/ivi/20170808.070426
accepted/tizen/3.0/mobile/20170808.070352
accepted/tizen/3.0/tv/20170808.070404
accepted/tizen/3.0/wearable/20170808.070414
submit/tizen_3.0/20170804.031922
author
Hyunho Kang
<hhstark.kang@samsung.com>
Wed, 2 Aug 2017 06:27:17 +0000
(15:27 +0900)
committer
Hyunho Kang
<hhstark.kang@samsung.com>
Fri, 4 Aug 2017 00:54:54 +0000
(09:54 +0900)
Change-Id: Ied607a31f75b529e59f1b2f31e88b91cba1f81e0
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
parser/widget_plugin_parser.c
patch
|
blob
|
history
diff --git
a/parser/widget_plugin_parser.c
b/parser/widget_plugin_parser.c
index
a0d27a0
..
bb63711
100644
(file)
--- a/
parser/widget_plugin_parser.c
+++ b/
parser/widget_plugin_parser.c
@@
-115,12
+115,14
@@
static int _parse_support_size(xmlNode *node, GList **sizes)
tok = strtok_r(val, "xX", &ptr);
if (tok == NULL) {
free(size);
+ free(val);
return -1;
}
size->width = atoi(tok);
tok = strtok_r(NULL, "xX", &ptr);
if (tok == NULL) {
free(size);
+ free(val);
return -1;
}
size->height = atoi(tok);