diff options
author | Sander Vrijders <[email protected]> | 2017-03-22 15:56:41 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-03-22 15:56:41 +0100 |
commit | f8d633d70f79d75935787c524ab0120159556fa3 (patch) | |
tree | 83ca1ff3efcb887e8986e73ea16a06bf9cad3ec7 /src/ipcpd/normal/neighbors.c | |
parent | 4057695fe65dd0b8c8604c75d5f60d265f0dbf9a (diff) | |
download | ouroboros-f8d633d70f79d75935787c524ab0120159556fa3.tar.gz ouroboros-f8d633d70f79d75935787c524ab0120159556fa3.zip |
ipcpd: normal: Fix memory leaks
This fixes some memleaks as reported by valgrind.
Diffstat (limited to 'src/ipcpd/normal/neighbors.c')
-rw-r--r-- | src/ipcpd/normal/neighbors.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/normal/neighbors.c b/src/ipcpd/normal/neighbors.c index 66da0462..d50732cb 100644 --- a/src/ipcpd/normal/neighbors.c +++ b/src/ipcpd/normal/neighbors.c @@ -89,6 +89,8 @@ void nbs_destroy(struct nbs * nbs) pthread_mutex_destroy(&nbs->list_lock); pthread_mutex_destroy(&nbs->notifiers_lock); + + free(nbs); } int nbs_add(struct nbs * nbs, |