From fa073543c4705e92cc390adfb823b1dfa525c4d9 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 6 Dec 2009 23:59:46 +0100 Subject: Add free_connect_ports_list(). Michael --- src/connect-ports.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/connect-ports.c') diff --git a/src/connect-ports.c b/src/connect-ports.c index b002690..1aaacf8 100644 --- a/src/connect-ports.c +++ b/src/connect-ports.c @@ -67,3 +67,11 @@ int check_allowed_connect_ports (int port, vector_t connect_ports) return 0; } + +/** + * Free a connect_ports list. + */ +void free_connect_ports_list (vector_t connect_ports) +{ + vector_delete (connect_ports); +} -- cgit v1.2.3