projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa44baa
)
Close file descriptor on error handling.
author
anryko
<a.shvenke@gmail.com>
Thu, 4 Jan 2018 17:36:54 +0000
(18:36 +0100)
committer
anryko
<a.shvenke@gmail.com>
Thu, 4 Jan 2018 17:36:54 +0000
(18:36 +0100)
src/vpn/gnunet-helper-vpn.c
patch
|
blob
|
history
diff --git
a/src/vpn/gnunet-helper-vpn.c
b/src/vpn/gnunet-helper-vpn.c
index 4ed4e079eea7a3d0bbef90491918ba51eaa52f3e..26f77d2fcf48b8921dccaccfbd910c0844a3615e 100644
(file)
--- 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;
}