diff options
author | Sander Vrijders <[email protected]> | 2017-08-23 19:38:57 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-08-23 19:38:57 +0200 |
commit | 47bd452352389925188ca4d36ae1c1ba611e6aeb (patch) | |
tree | 8a307b5138b18dba0ed277d4deb85a8ca8e64347 /src/lib/dev.c | |
parent | 1ca26ab86712575a5e89dcd68295b57fd27c5703 (diff) | |
download | ouroboros-47bd452352389925188ca4d36ae1c1ba611e6aeb.tar.gz ouroboros-47bd452352389925188ca4d36ae1c1ba611e6aeb.zip |
lib, ipcpd, irmd: Fix several memleaks
This fixes several memleaks as reported by valgrind. It also fixes
some calls to close() with -1.
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r-- | src/lib/dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |