summaryrefslogtreecommitdiff
path: root/content/handlers/html/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/html/search.c')
-rw-r--r--content/handlers/html/search.c2
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;
}