mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 04:26:50 +03:00
Don't leak bitmap
svn path=/trunk/netsurf/; revision=10233
This commit is contained in:
parent
d4524e7def
commit
4839adaff3
@ -126,6 +126,8 @@ void nssprite_destroy(struct content *c)
|
||||
{
|
||||
if (c->data.nssprite.sprite_area != NULL)
|
||||
rosprite_destroy_sprite_area(c->data.nssprite.sprite_area);
|
||||
if (c->bitmap != NULL)
|
||||
bitmap_destroy(c->bitmap);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user