summaryrefslogtreecommitdiff
path: root/src/tools/cbr
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-11-29 20:58:47 +0100
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-11-29 20:58:47 +0100
commit591d1aa7205f48c57d75fef56d18e1e67948af20 (patch)
treed33fb4600c334a30b1a93124af7a02698620e601 /src/tools/cbr
parentea71b87be592fec7eb8f5ae0707503c4f0fba8be (diff)
downloadouroboros-591d1aa7205f48c57d75fef56d18e1e67948af20.tar.gz
ouroboros-591d1aa7205f48c57d75fef56d18e1e67948af20.zip
tools: Deallocate cbr flows when they time out
Diffstat (limited to 'src/tools/cbr')
-rw-r--r--src/tools/cbr/cbr_server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/cbr/cbr_server.c b/src/tools/cbr/cbr_server.c
index eb45a2c6..52c2aa73 100644
--- a/src/tools/cbr/cbr_server.c
+++ b/src/tools/cbr/cbr_server.c
@@ -121,6 +121,8 @@ void handle_flow(int fd)
ts_add(&iv_start, &intv, &iv_end);
}
}
+
+ flow_dealloc(fd);
}
void * worker(void * o)