mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Call dentfree() when we quit
This commit is contained in:
parent
789f9336f4
commit
0e214e23b7
3
noice.c
3
noice.c
|
@ -608,8 +608,8 @@ nochange:
|
|||
case SEL_QUIT:
|
||||
free(path);
|
||||
free(filter);
|
||||
/* Forget history */
|
||||
forgethist();
|
||||
dentfree(dents, n);
|
||||
return;
|
||||
case SEL_BACK:
|
||||
/* There is no going back */
|
||||
|
@ -714,7 +714,6 @@ nochange:
|
|||
free(tmp);
|
||||
free(filter);
|
||||
filter = xstrdup(ifilter); /* Reset filter */
|
||||
/* Forget history */
|
||||
forgethist();
|
||||
DPRINTF_S(path);
|
||||
cur = 0;
|
||||
|
|
Loading…
Reference in a new issue