mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-19 01:02:32 +03:00
NULL drawhandle after free
This commit is contained in:
parent
e82107a296
commit
7314651b95
@ -546,6 +546,7 @@ static inline struct BitMap *ami_bitmap_get_generic(struct bitmap *bitmap,
|
||||
DirectDrawTrueColor(ddh, (ULONG *)amiga_bitmap_get_buffer(bitmap), 0, 0, TAG_DONE);
|
||||
DeleteDirectDrawHandle(ddh);
|
||||
ReleaseDrawHandle(bitmap->drawhandle);
|
||||
bitmap->drawhandle = NULL;
|
||||
}
|
||||
ami_bitmap_argb_to_rgba(bitmap);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user