[testsuite] assign null after destroy handle 54/152454/1
authorSomin Kim <somin926.kim@samsung.com>
Tue, 26 Sep 2017 06:29:58 +0000 (15:29 +0900)
committerSomin 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

index da82829..3a7d859 100644 (file)
@@ -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);