diff options
Diffstat (limited to 'src/bookmarks/ephy-bookmarksbar-model.c')
-rwxr-xr-x | src/bookmarks/ephy-bookmarksbar-model.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmarksbar-model.c b/src/bookmarks/ephy-bookmarksbar-model.c index 0bbcad7c5..a682906d6 100755 --- a/src/bookmarks/ephy-bookmarksbar-model.c +++ b/src/bookmarks/ephy-bookmarksbar-model.c @@ -332,7 +332,10 @@ impl_get_item_id (EggToolbarsModel *eggmodel, gchar **netscape_url; netscape_url = g_strsplit (name, "\n", 2); - if (!netscape_url || !netscape_url[URL]) return NULL; + if (!netscape_url || !netscape_url[URL]) { + g_strfreev (netscape_url); + return NULL; + } node = ephy_bookmarks_find_bookmark (bookmarks, netscape_url[URL]); |