aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar sin <sin@2f30.org>2014-10-22 16:28:23 +0100
committerGravatar sin <sin@2f30.org>2014-10-22 16:29:18 +0100
commitc6614067e4e47234c6e2602b6c963735135bd7ae (patch)
treee2767a848f13b40558bb3b41276c30ff3bdfe0ff
parentdbac1486c6f72845e2fdd524b58fec114f78ca91 (diff)
downloadnnn-c6614067e4e47234c6e2602b6c963735135bd7ae.tar.gz
Remember to set dents to NULL
-rw-r--r--noice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/noice.c b/noice.c
index 6355def..09a63db 100644
--- a/noice.c
+++ b/noice.c
@@ -511,6 +511,7 @@ begin:
if (r != 0)
goto nochange;
+ dents = NULL;
n = dentfill(dirp, &dents, visible, &filter_re);
/* Make sure cur is in range */