[project @ 2005-01-16 21:32:10 by jmb]
Ensure style exists before freeing it svn path=/import/netsurf/; revision=1455
This commit is contained in:
parent
d63e9fac4f
commit
7ab8b2c1ba
|
@ -1035,7 +1035,9 @@ void html_destroy(struct content *c)
|
|||
}
|
||||
}
|
||||
free(c->data.html.stylesheet_content);
|
||||
css_free_style(c->data.html.style);
|
||||
|
||||
if (c->data.html.style)
|
||||
css_free_style(c->data.html.style);
|
||||
|
||||
if (c->data.html.fonts)
|
||||
nsfont_free_set(c->data.html.fonts);
|
||||
|
|
Loading…
Reference in New Issue