mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-19 18:52:39 +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 *nnode;
|
||||
|
||||
if(websearchlist == NULL) return;
|
||||
if(IsListEmpty(websearchlist)) return;
|
||||
node = GetHead(websearchlist);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user