~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipaddr_to_string: SECURITY: Do not allocate
[secnet]
/
tun.c
diff --git
a/tun.c
b/tun.c
index
dcfd623
..
c511dbe
100644
(file)
--- a/
tun.c
+++ b/
tun.c
@@
-240,9
+240,7
@@
static bool_t tun_set_route(void *sst, struct netlink_client *routes)
fatal("tun_set_route: unsupported route command type");
break;
}
- free(network); free(mask);
}
- free(secnetaddr);
if (st->route_type==TUN_CONFIG_IOCTL) {
close(fd);
}