projects
/
platform
/
core
/
appfw
/
appcore-widget.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix unittest memory leak
[platform/core/appfw/appcore-widget.git]
/
test
/
unit_tests
/
test_widget_app.cc
diff --git
a/test/unit_tests/test_widget_app.cc
b/test/unit_tests/test_widget_app.cc
index
3966a4f
..
3591adf
100644
(file)
--- a/
test/unit_tests/test_widget_app.cc
+++ b/
test/unit_tests/test_widget_app.cc
@@
-271,6
+271,7
@@
TEST_F(WidgetAppTest, widget_app_main) {
ret = widget_app_main(argc, argv, &callback, nullptr);
EXPECT_EQ(WIDGET_ERROR_NONE, ret);
ret = widget_app_main(argc, argv, &callback, nullptr);
EXPECT_EQ(WIDGET_ERROR_NONE, ret);
+ bundle_free_exported_argv(argc, &argv);
}
TEST_F(WidgetAppTest, widget_app_exit) {
}
TEST_F(WidgetAppTest, widget_app_exit) {
@@
-464,6
+465,7
@@
TEST_F(WidgetAppTest, widget_app_class_add) {
ret = widget_app_main(argc, argv, &callback, nullptr);
EXPECT_EQ(WIDGET_ERROR_NONE, ret);
ret = widget_app_main(argc, argv, &callback, nullptr);
EXPECT_EQ(WIDGET_ERROR_NONE, ret);
+ bundle_free_exported_argv(argc, &argv);
}
TEST_F(WidgetAppTest, widget_app_get_elm_win_negative) {
}
TEST_F(WidgetAppTest, widget_app_get_elm_win_negative) {