summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mansearch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mansearch.c b/mansearch.c
index ff502daf..cfd14bf6 100644
--- a/mansearch.c
+++ b/mansearch.c
@@ -310,6 +310,7 @@ buildnames(struct manpage *mpage, sqlite3 *db, sqlite3_stmt *s,
size_t i;
int c;
+ mpage->file = NULL;
mpage->names = NULL;
prevsec = prevarch = NULL;
i = 1;