diff options
-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 b1d49d981..e0d9bb1af 100755 --- a/src/bookmarks/ephy-bookmarksbar-model.c +++ b/src/bookmarks/ephy-bookmarksbar-model.c @@ -330,7 +330,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]); |