Fix double free of title
svn path=/trunk/netsurf/; revision=10386
This commit is contained in:
parent
3c81d2a527
commit
1a5b039115
|
@ -215,7 +215,6 @@ bool artworks_convert(struct content *c)
|
|||
|
||||
void artworks_destroy(struct content *c)
|
||||
{
|
||||
free(c->title);
|
||||
free(c->data.artworks.block);
|
||||
}
|
||||
|
||||
|
|
|
@ -97,7 +97,6 @@ bool draw_convert(struct content *c)
|
|||
|
||||
void draw_destroy(struct content *c)
|
||||
{
|
||||
free(c->title);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue