projects
/
platform
/
core
/
appfw
/
watchface-complication.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0181708
)
Fix memory leak
38/190338/1
author
hyunho
<hhstark.kang@samsung.com>
Mon, 1 Oct 2018 06:12:30 +0000
(15:12 +0900)
committer
hyunho
<hhstark.kang@samsung.com>
Mon, 1 Oct 2018 06:13:04 +0000
(15:13 +0900)
Change-Id: I9182c7dfd92e8f40ceb17489e21d2cc7ffec39e0
Signed-off-by: hyunho <hhstark.kang@samsung.com>
unittest/src/test-editables-manager.cc
patch
|
blob
|
history
diff --git
a/unittest/src/test-editables-manager.cc
b/unittest/src/test-editables-manager.cc
index
d9f2010
..
81df0ea
100644
(file)
--- a/
unittest/src/test-editables-manager.cc
+++ b/
unittest/src/test-editables-manager.cc
@@
-45,9
+45,9
@@
TEST_F(EDITABLES_MANAGER, StoreContext)
bundle* b = bundle_create();
bundle_add_str(b, "TEST_KEY", "TEST_VALUE");
- Bundle
* bundle = new B
undle(b);
+ Bundle
b
undle(b);
EditablesManager::GetInst(true).StoreContext(10, "org.tizen.mock_provider/test",
-
*
bundle);
+ bundle);
int ret = EditablesManager::GetInst(true).DeleteContext(
10, "org.tizen.mock_provider/test");
EXPECT_EQ(ret, 0);