Fixed Nabi Issues N_SE-47676
[apps/osp/Internet.git] / src / IntBookmarkData.cpp
index 3e48116..dd5a270 100644 (file)
@@ -2,7 +2,7 @@
 
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
-// Licensed under the Flora License, Version 1.0 (the License);
+// Licensed under the Flora License, Version 1.1 (the License);
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
@@ -32,7 +32,7 @@ BookmarkData::BookmarkData(void)
        , __bookmarkType(BOOKMARK_TYPE_URL)
        , __bookmarkTitle("")
        , __bookmarkUrl("")
-       , __parentId("-1")
+       , __parentId("0")
        , __iconPath("")
     , __faviconId("")
        , __pFavIconData(null)
@@ -56,7 +56,10 @@ BookmarkData::BookmarkData(const BookmarkData& bookmark)
 
 BookmarkData::~BookmarkData(void)
 {
-
+       if(__pFavIconData)
+       {
+               delete __pFavIconData;
+       }
 }
 
 BookmarkData&