mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-22 09:24:15 +03:00
Avoid calling bitmap_modified with NULL.
This commit is contained in:
parent
716b50062b
commit
8e66adaade
@ -502,7 +502,8 @@ png_cache_convert_error:
|
||||
|
||||
free((png_bytep *) row_pointers);
|
||||
|
||||
bitmap_modified((struct bitmap *)bitmap);
|
||||
if (bitmap != NULL)
|
||||
bitmap_modified((struct bitmap *)bitmap);
|
||||
|
||||
return (struct bitmap *)bitmap;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user