diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-11-29 20:58:47 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-11-29 20:58:47 +0100 |
commit | 591d1aa7205f48c57d75fef56d18e1e67948af20 (patch) | |
tree | d33fb4600c334a30b1a93124af7a02698620e601 /src/tools/cbr/cbr_server.c | |
parent | ea71b87be592fec7eb8f5ae0707503c4f0fba8be (diff) | |
download | ouroboros-591d1aa7205f48c57d75fef56d18e1e67948af20.tar.gz ouroboros-591d1aa7205f48c57d75fef56d18e1e67948af20.zip |
tools: Deallocate cbr flows when they time out
Diffstat (limited to 'src/tools/cbr/cbr_server.c')
-rw-r--r-- | src/tools/cbr/cbr_server.c | 2 |
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) |