From abe1309ddc0d5cbb73dec4d23237d847b7d73f7f Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= jaakko.keranen@iki.fi

Date: Wed, 10 Feb 2021 21:33:16 +0200

Subject: [PATCH 1/1] Bookmarks: Fixed crash when removing a bookmark source

Remote bookmarks from a deleted source page were not immediately

removed, so the UI got confused about the missing source bookmark.

IssueID #154


src/bookmarks.c | 11 +++++++++++

1 file changed, 11 insertions(+)

diff --git a/src/bookmarks.c b/src/bookmarks.c

index 2efdc873..1fc24a67 100644

--- a/src/bookmarks.c

+++ b/src/bookmarks.c

@@ -214,6 +214,17 @@ iBool remove_Bookmarks(iBookmarks *d, uint32_t id) {

 lock_Mutex(d->mtx);

 iBookmark *bm = (iBookmark *) remove_Hash(&d->bookmarks, id);

 if (bm) {

     delete_Bookmark(bm);

 }

 unlock_Mutex(d->mtx);

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.8/patch/abe1309ddc0d5cbb73dec4d23237d847b7d73f7f.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
56.287563 milliseconds
Gemini-to-HTML Time
0.746726 milliseconds

This content has been proxied by September (ba2dc).