summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/neighbors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/normal/neighbors.c')
-rw-r--r--src/ipcpd/normal/neighbors.c2
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,