summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/urldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/urldb.c b/content/urldb.c
index e127db8b4..295be9b2b 100644
--- a/content/urldb.c
+++ b/content/urldb.c
@@ -1067,7 +1067,7 @@ void urldb_set_thumbnail(const char *url, struct bitmap *bitmap)
if (!p)
return;
- if (p->thumb)
+ if (p->thumb && p->thumb != bitmap)
bitmap_destroy(p->thumb);
p->thumb = bitmap;