From cbd6ccb7fa372832715b0e143c816f569bd07ccd Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Sun, 15 May 2016 02:26:27 +0200 Subject: lib: irmd: fixed flow deallocation Port_id's weren't correctly released. Also removes remaining debug logs from the library. --- src/irmd/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/irmd') diff --git a/src/irmd/main.c b/src/irmd/main.c index 65c173de..9c515d2a 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -1059,6 +1059,8 @@ static int flow_dealloc(int port_id) list_del(&e->next); + bmp_release(instance->port_ids, port_id); + pthread_mutex_unlock(&instance->r_lock); free(e); -- cgit v1.2.3