mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 23:39:51 +03:00
[project @ 2005-01-16 00:14:31 by jmb]
Ensure style struct exists before attempting to free svn path=/import/netsurf/; revision=1452
This commit is contained in:
parent
01564e642d
commit
b75313f591
@ -2458,7 +2458,7 @@ void box_free_box(struct box *box)
|
||||
free(box->href);
|
||||
free(box->title);
|
||||
free(box->col);
|
||||
if (!box->style_clone)
|
||||
if (!box->style_clone && box->style)
|
||||
css_free_style(box->style);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user