Fix double free of title

svn path=/trunk/netsurf/; revision=10386
This commit is contained in:
John Mark Bell 2010-04-12 22:39:21 +00:00
parent 3c81d2a527
commit 1a5b039115
3 changed files with 0 additions and 3 deletions

View File

@ -215,7 +215,6 @@ bool artworks_convert(struct content *c)
void artworks_destroy(struct content *c)
{
free(c->title);
free(c->data.artworks.block);
}

View File

@ -97,7 +97,6 @@ bool draw_convert(struct content *c)
void draw_destroy(struct content *c)
{
free(c->title);
}

View File

@ -104,7 +104,6 @@ void sprite_destroy(struct content *c)
{
/* do not free c->data.sprite.data at it is simply a pointer to
* 4 bytes beforec->source_data. */
free(c->title);
}