X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fmingw%2Fdevice.c;h=b13cb569a205e93ea51f148708401cc5f8be9226;hb=23730375f27c32e0fe1a59c7a761dd85296a7a4a;hp=5494796a11ff289d544650ac3ee545d9a6234503;hpb=b069da90d67b49dce041f513a3855b8da3d82f80;p=tinc diff --git a/src/mingw/device.c b/src/mingw/device.c index 5494796a..b13cb569 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -313,6 +313,9 @@ void close_device(void) cp(); CloseHandle(device_handle); + + free(device); + free(iface); } bool read_packet(vpn_packet_t *packet)