From 2567329483ab1fe5384782da50e06aa0bbdd3cfe Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Thu, 4 Aug 2016 15:25:42 +0200 Subject: irmd: Fix destroying allocated flows When a flow was in FLOW_ALLOCATED state, it would not change to NULL state and irm_flow_destroy would hang forever. --- src/ipcpd/ipcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipcpd') diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c index 6b76f20e..9ecc411d 100644 --- a/src/ipcpd/ipcp.c +++ b/src/ipcpd/ipcp.c @@ -91,7 +91,7 @@ static void close_ptr(void * o) close(*((int *) o)); } -static void clean_msg (void * msg) +static void clean_msg(void * msg) { ipcp_msg__free_unpacked(msg, NULL); } -- cgit v1.2.3