mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Remember to set dents to NULL
This commit is contained in:
parent
dbac1486c6
commit
c6614067e4
1 changed files with 1 additions and 0 deletions
1
noice.c
1
noice.c
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Reference in a new issue