Commit 03f07deb authored by Federico Vaga's avatar Federico Vaga

lib: add missing removal fdcc

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 2c7cfae3
......@@ -153,6 +153,11 @@ void fmctdc_exit(void)
b->fdc[j] = -1;
err++;
}
if (b->fdcc[j] >= 0) {
close(b->fdcc[j]);
b->fdcc[j] = -1;
err++;
}
if (b->fdd[j] >= 0) {
close(b->fdd[j]);
b->fdd[j] = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment