From 7b9226c5da3a81fb758bee70aafe05bb64d37464 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sun, 28 Feb 2010 18:19:52 +0300 Subject: [PATCH] Ticket #2068: fixed segfault in panelization of file find result. Signed-off-by: Andrew Borodin --- src/find.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/find.c b/src/find.c index dc38e5fa7..883cb0781 100644 --- a/src/find.c +++ b/src/find.c @@ -1255,7 +1255,7 @@ find_file (const char *start_dir, const char *pattern, const char *content, const char *lc_filename = NULL; WLEntry *le = (WLEntry *) entry->data; - if ((le->text == NULL) || (entry->data == NULL)) + if ((le->text == NULL) || (le->data == NULL)) continue; if (content_pattern != NULL)