From 47bd452352389925188ca4d36ae1c1ba611e6aeb Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Wed, 23 Aug 2017 19:38:57 +0200 Subject: lib, ipcpd, irmd: Fix several memleaks This fixes several memleaks as reported by valgrind. It also fixes some calls to close() with -1. --- src/lib/dev.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/dev.c') diff --git a/src/lib/dev.c b/src/lib/dev.c index 43543af3..8009a186 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -645,6 +645,7 @@ void ouroboros_fini() free(ai.flows); free(ai.ports); + free(ai.frcti); pthread_rwlock_unlock(&ai.lock); -- cgit v1.2.3