Remember to set dents to NULL

This commit is contained in:
sin 2014-10-22 16:28:23 +01:00
parent dbac1486c6
commit c6614067e4

View file

@ -511,6 +511,7 @@ begin:
if (r != 0) if (r != 0)
goto nochange; goto nochange;
dents = NULL;
n = dentfill(dirp, &dents, visible, &filter_re); n = dentfill(dirp, &dents, visible, &filter_re);
/* Make sure cur is in range */ /* Make sure cur is in range */