mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
Avoid crash when freeing websearch list
This commit is contained in:
parent
6d71cdefc9
commit
8c00da9ec6
@ -2302,6 +2302,7 @@ void ami_gui_opts_websearch_free(struct List *websearchlist)
|
|||||||
struct Node *node;
|
struct Node *node;
|
||||||
struct Node *nnode;
|
struct Node *nnode;
|
||||||
|
|
||||||
|
if(websearchlist == NULL) return;
|
||||||
if(IsListEmpty(websearchlist)) return;
|
if(IsListEmpty(websearchlist)) return;
|
||||||
node = GetHead(websearchlist);
|
node = GetHead(websearchlist);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user