[hackers] [scc] [cc2] Clean also the list of free nodes || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Fri, 15 Apr 2016 18:51:19 +0200 (CEST)

commit f1adcb5a9b3ed145e0e42248aa11578ecb7ef2ee
Author: Roberto E. Vargas Caballero <Roberto E. Vargas Caballero>
AuthorDate: Fri Apr 15 01:19:23 2016 +0200
Commit: Roberto E. Vargas Caballero <Roberto E. Vargas Caballero>
CommitDate: Fri Apr 15 01:19:23 2016 +0200

    [cc2] Clean also the list of free nodes

diff --git a/cc2/node.c b/cc2/node.c
index f642fb3..7988a84 100644
--- a/cc2/node.c
+++ b/cc2/node.c
_AT_@ -71,6 +71,7 @@ cleannodes(void)
                 free(ap);
         }
         arena = NULL;
+ freep = NULL;
 }
 
 void
Received on Fri Apr 15 2016 - 18:51:19 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 15 2016 - 19:00:17 CEST