Free replay window when freeing a node_t.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 13 Nov 2010 20:36:51 +0000 (21:36 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 13 Nov 2010 20:36:51 +0000 (21:36 +0100)
src/node.c

index a533cee..7bcad89 100644 (file)
@@ -92,6 +92,9 @@ void free_node(node_t *n) {
        if(n->name)
                free(n->name);
 
+       if(n->late)
+               free(n->late);
+
        free(n);
 }