[project @ 2003-07-16 17:37:01 by bursa]
Bad pointer fix. svn path=/import/netsurf/; revision=224
This commit is contained in:
parent
ebcf1cb345
commit
6724b2c21e
|
@ -1268,7 +1268,7 @@ void box_normalise_inline_container(struct box *cont)
|
|||
|
||||
void gadget_free(struct gui_gadget* g)
|
||||
{
|
||||
struct formoption* o;
|
||||
struct formoption *o, *o1;
|
||||
|
||||
if (g->name != 0)
|
||||
xmlFree(g->name);
|
||||
|
@ -1308,8 +1308,9 @@ void gadget_free(struct gui_gadget* g)
|
|||
xmlFree(o->text);
|
||||
if (o->value != 0)
|
||||
xmlFree(o->value);
|
||||
o1 = o->next;
|
||||
xfree(o);
|
||||
o = o->next;
|
||||
o = o1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue