diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-03-22 13:35:40 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-03-23 02:21:42 +0100 |
commit | 665b8e5283df4f64eb44d8fb434489be1474b5d4 (patch) | |
tree | ef39499819c6c674a75647551d4f1fec2f9098f2 /lib/lists.h | |
parent | 39a6b19d6d7e420805bd75783b77bf442745bccb (diff) |
Birdlib: Do cleanups after remove/free
To avoid byzantine behavior in case of some errors, linked lists are
cleared after rem_node() and resource headers are cleared after rfree().
Diffstat (limited to 'lib/lists.h')
-rw-r--r-- | lib/lists.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/lists.h b/lib/lists.h index 80a4dc93..4204cbc5 100644 --- a/lib/lists.h +++ b/lib/lists.h @@ -61,7 +61,6 @@ typedef struct list { /* In fact two overlayed nodes */ void add_tail(list *, node *); void add_head(list *, node *); void rem_node(node *); -void rem2_node(node *); void add_tail_list(list *, list *); void init_list(list *); void insert_node(node *, node *); |