[project @ 2005-01-16 00:08:47 by jmb]

Fixup missed css_style free

svn path=/import/netsurf/; revision=1451
This commit is contained in:
John Mark Bell 2005-01-16 00:08:47 +00:00
parent 1e592489b1
commit 01564e642d

View File

@ -448,9 +448,7 @@ void css_destroy(struct content *c)
for (i = 0; i != HASH_SIZE; i++) {
for (r = c->data.css.css->rule[i]; r != 0; r = r->next) {
if (r->style->background_image.uri != NULL)
free(r->style->background_image.uri);
free(r->style);
css_free_style(r->style);
}
css_free_selector(c->data.css.css->rule[i]);
}