X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsubnet.h;h=6220e580fa763e374be89936c701c987ce3a4107;hb=bc4df95a48857aa4ab65fb47eabd48c48d650ca0;hp=016aa54792ef431f8d3e1dab522ec0f9274ef963;hpb=6075fb8c185d0461070a9f16288e9d3673708735;p=tinc diff --git a/src/subnet.h b/src/subnet.h index 016aa547..6220e580 100644 --- a/src/subnet.h +++ b/src/subnet.h @@ -65,8 +65,8 @@ typedef struct subnet_t { extern splay_tree_t subnet_tree; extern int subnet_compare(const struct subnet_t *a, const struct subnet_t *b); -extern subnet_t *new_subnet(void) ATTR_MALLOC; extern void free_subnet(subnet_t *subnet); +extern subnet_t *new_subnet(void) ATTR_MALLOC ATTR_DEALLOCATOR(free_subnet); extern void init_subnets(void); extern void exit_subnets(void); extern void init_subnet_tree(splay_tree_t *tree);