summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e0517ee)
raw | patch | inline | side by side (parent: e0517ee)
author | Florian Forster <octo@verplant.org> | |
Sat, 11 Sep 2010 12:48:50 +0000 (14:48 +0200) | ||
committer | Florian Forster <octo@verplant.org> | |
Sat, 11 Sep 2010 12:48:50 +0000 (14:48 +0200) |
src/utils_search.c | patch | blob | history |
diff --git a/src/utils_search.c b/src/utils_search.c
index 1a1be7d798f28ccab564d0d6c1ec30921e20c3a1..84c9035609fa26452c219c7993b1ddfbe1c7456f 100644 (file)
--- a/src/utils_search.c
+++ b/src/utils_search.c
char *token;
search_info_t *si;
+ if (search == NULL)
+ return (NULL);
+
si = malloc (sizeof (*si));
if (si == NULL)
return (NULL);