X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet_setup.c;h=00273cfe1007f2e3b0a64c4c2c2e0f246c898498;hb=d1ec010660905ae0b99d783737350ccc08b37b16;hp=5d4e9157cefdc1df31b76f2b869f1c2ae162ae78;hpb=72642b40b3ad476101622da202b6f977a32b472f;p=tinc diff --git a/src/net_setup.c b/src/net_setup.c index 5d4e9157..00273cfe 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -680,6 +680,8 @@ static bool setup_myself(void) { return false; } + free(cipher); + regenerate_key(); /* Check if we want to use message authentication codes... */ @@ -700,6 +702,8 @@ static bool setup_myself(void) { return false; } + free(digest); + /* Compression */ if(get_config_int(lookup_config(config_tree, "Compression"), &myself->incompression)) {