projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add tests to cover some of the fixed leaks.
[tinc]
/
src
/
fd_device.c
diff --git
a/src/fd_device.c
b/src/fd_device.c
index
e879a34
..
1325ee5
100644
(file)
--- a/
src/fd_device.c
+++ b/
src/fd_device.c
@@
-175,6
+175,10
@@
static bool setup_device(void) {
static void close_device(void) {
close(device_fd);
device_fd = -1;
+ free(iface);
+ iface = NULL;
+ free(device);
+ device = NULL;
}
static inline uint16_t get_ip_ethertype(vpn_packet_t *packet) {