From: xrs Date: Mon, 25 Jun 2018 21:08:59 +0000 (+0200) Subject: fix codesonar finding: add CLOSE(fd) X-Git-Tag: v0.11.0~341 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e54f88a363b8560f83b13875c6e450b5393b0a7b;p=oweals%2Fgnunet.git fix codesonar finding: add CLOSE(fd) --- diff --git a/src/gns/gnunet-bcd.c b/src/gns/gnunet-bcd.c index 5279e83a4..a82607b94 100644 --- a/src/gns/gnunet-bcd.c +++ b/src/gns/gnunet-bcd.c @@ -499,6 +499,7 @@ run (void *cls, return; GNUNET_SCHEDULER_add_shutdown (&server_stop, NULL); + CLOSE(fd); }