diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-11-06 23:26:48 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-11-06 23:26:48 +0000 |
commit | 7de3100624bf77980e92f8e507a209dfe34a8309 (patch) | |
tree | 27f14c293e11dd421ecc4c4a8e57b94b4e747b22 /content/handlers/html/search.c | |
parent | fca421e2047a55f3cf575c92943c1116ec58da3c (diff) | |
download | netsurf-7de3100624bf77980e92f8e507a209dfe34a8309.tar.gz netsurf-7de3100624bf77980e92f8e507a209dfe34a8309.tar.bz2 |
remove unecessary user warning
Diffstat (limited to 'content/handlers/html/search.c')
-rw-r--r-- | content/handlers/html/search.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/content/handlers/html/search.c b/content/handlers/html/search.c index 3599951a7..1e2fa04f7 100644 --- a/content/handlers/html/search.c +++ b/content/handlers/html/search.c @@ -87,13 +87,11 @@ search_create_context(struct content *c, content_type type, void *gui_data) context = malloc(sizeof(struct search_context)); if (context == NULL) { - guit->misc->warning("NoMemory", 0); return NULL; } search_head = malloc(sizeof(struct list_entry)); if (search_head == NULL) { - guit->misc->warning("NoMemory", 0); free(context); return NULL; } |