diff options
author | 2013-05-22 14:54:33 +0200 | |
---|---|---|
committer | 2013-06-03 14:13:09 -0700 | |
commit | fca597558e47f936a0e03bab15af726aa3a0fa0e (patch) | |
tree | beadcfb08e0983eb3c391cd3d87a860eadec3243 /lib/net_utils.c | |
parent | tools: hv: Check retrun value of strchr call (diff) | |
download | wireguard-linux-fca597558e47f936a0e03bab15af726aa3a0fa0e.tar.xz wireguard-linux-fca597558e47f936a0e03bab15af726aa3a0fa0e.zip |
tools: hv: Fix file descriptor leaks
Close "fd" file descriptor when is goes out of scope so it does
not leak.
Signed-off-by: Tomas Hozza <thozza@redhat.com>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions