mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-18 04:52:59 +03:00
fix null dereference (coverity 1127058)
This commit is contained in:
parent
e0883a40bb
commit
447ab79e89
@ -25,7 +25,8 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap,
|
||||
struct gui_window *win = monkey_find_window_by_content(content);
|
||||
if (win == NULL) {
|
||||
fprintf(stdout, "GENERIC THUMBNAIL URL %s\n", nsurl_access(url));
|
||||
} else {
|
||||
fprintf(stdout, "WINDOW THUMBNAIL WIN %u URL %s\n", win->win_num, nsurl_access(url));
|
||||
}
|
||||
fprintf(stdout, "WINDOW THUMBNAIL WIN %u URL %s\n", win->win_num, nsurl_access(url));
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user