From a736f4e00d57a54f4ec1f061d8b1e284207c50b1 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 19 Dec 2020 12:45:58 +0200 Subject: Bookmarks: Crash when updating remote bookmarks --- src/bookmarks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/bookmarks.c b/src/bookmarks.c index 27909349..af75c2a5 100644 --- a/src/bookmarks.c +++ b/src/bookmarks.c @@ -413,8 +413,8 @@ void fetchRemote_Bookmarks(iBookmarks *d) { iForEach(Hash, i, &d->bookmarks) { iBookmark *bm = (iBookmark *) i.value; if (hasTag_Bookmark(bm, "remote")) { - delete_Bookmark(bm); remove_HashIterator(&i); + delete_Bookmark(bm); numRemoved++; } } -- cgit v1.2.3