projects
/
platform
/
core
/
api
/
smart-traffic-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd2698
)
Fix Memory Leak
18/284318/1
tizen_7.0
author
Anjali Nijhara
<a.nijhara@samsung.com>
Thu, 20 Oct 2022 05:29:40 +0000
(10:59 +0530)
committer
Niraj Kumar Goit
<niraj.g@samsung.com>
Tue, 15 Nov 2022 12:11:21 +0000
(17:41 +0530)
Change-Id: Icfd245e95466b232dcfc43ac46e19261724c0e91
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
unittest/tct-stc-core.cpp
patch
|
blob
|
history
diff --git
a/unittest/tct-stc-core.cpp
b/unittest/tct-stc-core.cpp
index
d05017e
..
5cf239f
100755
(executable)
--- a/
unittest/tct-stc-core.cpp
+++ b/
unittest/tct-stc-core.cpp
@@
-79,7
+79,8
@@
TEST(stc, stc){
}
else {
PRINT_LOG(DLOG_INFO, "NativeTCT", "Name check error! [%s][%s]", pszGetTCName, tc_array[i].name);
- ASSERT_EQ(0, 1);
+ FREE_MEMORY_TC(pszGetTCName);
+ ASSERT_EQ(0, 1);
}
if (COMMON_DEBUG)
PRINT_LOG(DLOG_INFO, "NativeTCT", "===========================================");