projects
/
platform
/
core
/
uifw
/
libscl-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97c5daa
)
Fix issue detected by static analysis tool
36/222636/1
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Fri, 17 Jan 2020 01:59:37 +0000
(10:59 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Fri, 17 Jan 2020 01:59:37 +0000
(10:59 +0900)
Change-Id: I44e1085dae32d90cbf44c45e7f55b320ae0d278c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
xml2binary/xml2dat.cpp
patch
|
blob
|
history
diff --git
a/xml2binary/xml2dat.cpp
b/xml2binary/xml2dat.cpp
index
91635f4
..
2c7f4cb
100644
(file)
--- a/
xml2binary/xml2dat.cpp
+++ b/
xml2binary/xml2dat.cpp
@@
-83,6
+83,7
@@
int main(const int argc, char* argv[]) {
} else {
free(xml_bin_dir);
xml_bin_dir = NULL;
+ return -1;
}
}
@@
-101,9
+102,6
@@
int main(const int argc, char* argv[]) {
return -1;
}
- if (!xml_bin_dir)
- return -1;
-
MetaData_Handler md_handler(metadata_path);
char bin_file[_POSIX_PATH_MAX] = {0};