X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fconnection.c;h=ee44e539acabadccf7a5818519a593eaec0b5495;hb=40c28589328a2aa96c2ce1419c5d90616c758b3d;hp=9587819d03e3d8bedf04890b8ad3bc526b9631ac;hpb=f5dc136cfd7a3a195b75f7174722734e25f30fd9;p=meshlink diff --git a/src/connection.c b/src/connection.c index 9587819d..ee44e539 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); + sptps_stop(&c->sptps); ecdsa_free(&c->ecdsa); rsa_free(&c->rsa);