X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.c;h=b61609ad16010543f0c520ac0264a44e371f5eec;hp=9587819d03e3d8bedf04890b8ad3bc526b9631ac;hb=65d6f023c46ac3a087f59b60762f87c869783f21;hpb=efd21e232dced3225f119aeb7a585ebf55b7cf77 diff --git a/src/connection.c b/src/connection.c index 9587819d..b61609ad 100644 --- a/src/connection.c +++ b/src/connection.c @@ -69,7 +69,7 @@ void free_connection(connection_t *c) { cipher_close(&c->outcipher); digest_close(&c->outdigest); - ecdh_free(&c->ecdh); + stop_sptps(&c->sptps); ecdsa_free(&c->ecdsa); rsa_free(&c->rsa);