gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: Close file descriptor on er


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: Close file descriptor on error handling.
Date: Thu, 04 Jan 2018 18:37:37 +0100

This is an automated email from the git hooks/post-receive script.

arny pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new e7e357218 Close file descriptor on error handling.
e7e357218 is described below

commit e7e3572182bf2a0d51ae449abeee0fabbb18a0b4
Author: anryko <address@hidden>
AuthorDate: Thu Jan 4 18:36:54 2018 +0100

    Close file descriptor on error handling.
---
 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 4ed4e079e..26f77d2fc 100644
--- a/src/vpn/gnunet-helper-vpn.c
+++ b/src/vpn/gnunet-helper-vpn.c
@@ -649,6 +649,7 @@ main (int argc, char **argv)
     {
       fprintf (stderr,
                "Fatal: prefix_len out of range\n");
+      close (fd_tun);
       return 1;
     }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]