From a8703426ac309a2646e89c1a90ef368afa90cec9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 25 Jan 2012 10:34:52 +0000 Subject: [PATCH] -fix leak --- src/vpn/gnunet-helper-vpn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vpn/gnunet-helper-vpn.c b/src/vpn/gnunet-helper-vpn.c index b93ce2382..a6035d1d1 100644 --- a/src/vpn/gnunet-helper-vpn.c +++ b/src/vpn/gnunet-helper-vpn.c @@ -91,6 +91,7 @@ init_tun (char *dev) if (fd >= FD_SETSIZE) { fprintf (stderr, "File descriptor to large: %d", fd); + (void) close (fd); return -1; } -- 2.25.1