]> git.meshlink.io Git - meshlink/commitdiff
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 a533cee61ffe8e72441bd4bb8bb70fab44b0a276..7bcad892753ddaec91beca2793fdff48780dcc31 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);
 }