projects
/
platform
/
core
/
uifw
/
nlp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc1c949
)
Fix defect detected by static analysis tool
50/293250/7
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Tue, 23 May 2023 05:10:21 +0000
(14:10 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Tue, 23 May 2023 11:31:29 +0000
(20:31 +0900)
assigned_pointer: Assigning value NULL to tmp_str here, but that stored value is overwritten before it can be used.
Change-Id: I807901f7a6905e0ebb3d56515d50656e777564bd
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
tests/src/nlp_service_unittests.cpp
patch
|
blob
|
history
diff --git
a/tests/src/nlp_service_unittests.cpp
b/tests/src/nlp_service_unittests.cpp
index 8bd3d1e74eb9d6e473719b24cff6fb0fb0c5946e..f751ee783f396c59e0b5015968d1d94599388649 100644
(file)
--- a/
tests/src/nlp_service_unittests.cpp
+++ b/
tests/src/nlp_service_unittests.cpp
@@
-63,7
+63,6
@@
TEST_F(NlpServiceTest, utc_nlp_service_tokenize_p)
tokens.push_back(result);
cout << "token: '" << tmp_str << "'" << endl;
free(tmp_str);
- tmp_str = NULL;
}
}