projects
/
platform
/
core
/
api
/
context.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8603643
)
[testsuite] assign null after destroy handle
54/152454/1
author
Somin Kim
<somin926.kim@samsung.com>
Tue, 26 Sep 2017 06:29:58 +0000
(15:29 +0900)
committer
Somin Kim
<somin926.kim@samsung.com>
Tue, 26 Sep 2017 07:30:02 +0000
(16:30 +0900)
Change-Id: I2571fc0bde3391e2b24382aa57e834d358e4fccd
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
testsuite/src/default/DefaultTest.cpp
patch
|
blob
|
history
diff --git
a/testsuite/src/default/DefaultTest.cpp
b/testsuite/src/default/DefaultTest.cpp
index
da82829
..
3a7d859
100644
(file)
--- a/
testsuite/src/default/DefaultTest.cpp
+++ b/
testsuite/src/default/DefaultTest.cpp
@@
-51,6
+51,9
@@
bool __verify_context_history()
context_history_list_destroy(queryResult);
context_history_filter_destroy(filter);
context_history_destroy(history);
+ queryResult = NULL;
+ filter = NULL;
+ history = NULL;
ASSERT(error == CONTEXT_HISTORY_ERROR_NONE || error == CONTEXT_HISTORY_ERROR_NO_DATA);