Fix PVS_Studio issue V778 07/134007/1
authorcookie <cookie@samsung.com>
Wed, 14 Jun 2017 07:56:56 +0000 (07:56 +0000)
committercookie <cookie@samsung.com>
Wed, 14 Jun 2017 07:56:56 +0000 (07:56 +0000)
[ Problem ] http://suprem.sec.samsung.net/jira/browse/RWASP-1628
[ Cause ] This is a typo and 'm_navigatorToolbar' variable should be used instead of 'm_modulesToolbar
[Solution] fix by m_navigatorToolbar

Change-Id: I9e98e38780a647fe27c80d937c98f087a26ba455
Signed-off-by: cookie <cookie@samsung.com>
services/BookmarkManagerUI/BookmarkManagerUI.cpp

index 7934b344778a8a8bb4603dbec548bb7538578869..b38ae50622e7b426aa870b261f728923f3c98313 100755 (executable)
@@ -63,7 +63,7 @@ BookmarkManagerUI::~BookmarkManagerUI()
     }
     if (m_navigatorToolbar) {
         evas_object_smart_callback_del(m_navigatorToolbar, "language,changed", _navigation_toolbar_language_changed);
-        evas_object_del(m_modulesToolbar);
+        evas_object_del(m_navigatorToolbar);
     }
     if (m_genlist)
         evas_object_smart_callback_del(m_genlist, "language,changed", _language_changed);