Remember to set dents to NULL

This commit is contained in:
sin 2014-10-22 16:28:23 +01:00
parent dbac1486c6
commit c6614067e4
1 changed files with 1 additions and 0 deletions

View File

@ -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 */