Fixed Nabi issue and major memory leaks by valgrind
[apps/osp/Internet.git] / src / IntBookmarkListForm.cpp
index 16be6d5..42b1a56 100644 (file)
@@ -1145,6 +1145,12 @@ BookmarkListForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneI
                __previousSceneId = previousSceneId;
        }*/
 
+       if (pList)
+       {
+               delete pList;
+               pList = null;
+       }
+
        if (__pListview != null)
        {
                __pListview->UpdateList();