Don't leak bitmap

svn path=/trunk/netsurf/; revision=10233
This commit is contained in:
John Mark Bell 2010-04-03 12:19:20 +00:00
parent d4524e7def
commit 4839adaff3

View File

@ -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);
}