diff options
Diffstat (limited to 'desktop/history_core.c')
-rw-r--r-- | desktop/history_core.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/desktop/history_core.c b/desktop/history_core.c index bcc6fc190..97ec9b5f2 100644 --- a/desktop/history_core.c +++ b/desktop/history_core.c @@ -281,7 +281,11 @@ void history_add(struct history *history, struct content *content, warn_user("NoMemory", 0); return; } - thumbnail_create(content, bitmap, url); + if (thumbnail_create(content, bitmap, url) == false) { + /* Thumbnailing failed. Ignore it silently */ + bitmap_destroy(bitmap); + bitmap = NULL; + } } entry->bitmap = bitmap; |