summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-15 02:26:27 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-05-15 02:26:27 +0200
commitcbd6ccb7fa372832715b0e143c816f569bd07ccd (patch)
tree0c56baf121efc4e603fe8abbfe0d5cf40d7e28ec /src/irmd
parenta64d33fb44f30196711108311896cdbe711cc4d3 (diff)
downloadouroboros-cbd6ccb7fa372832715b0e143c816f569bd07ccd.tar.gz
ouroboros-cbd6ccb7fa372832715b0e143c816f569bd07ccd.zip
lib: irmd: fixed flow deallocation
Port_id's weren't correctly released. Also removes remaining debug logs from the library.
Diffstat (limited to 'src/irmd')
-rw-r--r--src/irmd/main.c2
1 files changed, 2 insertions, 0 deletions
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);