mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
Remove a double free and re-arrange to stop referencing a freed pointer.
This commit is contained in:
parent
ff1de89976
commit
beb5b9a542
@ -1948,9 +1948,8 @@ static void ami_gui_opts_use(bool save)
|
||||
void ami_gui_opts_close(void)
|
||||
{
|
||||
DisposeObject(gow->objects[OID_MAIN]);
|
||||
DelObject(gow->node);
|
||||
ami_gui_opts_free(gow);
|
||||
FreeVec(gow);
|
||||
DelObject(gow->node);
|
||||
gow = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user