projects
/
platform
/
core
/
uifw
/
smartreply.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeddbdc
)
Fix issue detected by static analysis tool
28/172328/1
author
sungwook79.park
<sungwook79.park@samsung.com>
Tue, 13 Mar 2018 08:10:55 +0000
(17:10 +0900)
committer
sungwook79.park
<sungwook79.park@samsung.com>
Tue, 13 Mar 2018 08:10:55 +0000
(17:10 +0900)
Change-Id: I1235afc5f7d8525043559f247cd4a1cea3f0dfc4
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
src/json.cpp
patch
|
blob
|
history
diff --git
a/src/json.cpp
b/src/json.cpp
index c4b8f509eef2f08e167e0947e4da2e985cb2ca47..eff6ba69067aaf7d968d6583ded153bd005615d0 100755
(executable)
--- a/
src/json.cpp
+++ b/
src/json.cpp
@@
-65,6
+65,7
@@
smr::json::json(const json& j)
smr::json::json(const char* s)
{
+ json_node = NULL;
if (s) {
parse(s);
} else {
@@
-74,6
+75,7
@@
smr::json::json(const char* s)
smr::json::json(const std::string& s)
{
+ json_node = NULL;
if (s.empty()) {
parse(EMPTY_JSON_OBJECT);
} else {