commit 0e214e23b71453ecae331f51917cf6b0411784fd
parent 789f9336f4bc2c73158e86cb6952726d63e70ec4
Author: sin <sin@2f30.org>
Date: Wed, 22 Oct 2014 17:28:27 +0100
Call dentfree() when we quit
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/noice.c b/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;