From 5aca6f974c12272ae5ee1cd3dbb674690c8ed81a Mon Sep 17 00:00:00 2001 From: Philippe G Date: Fri, 24 Dec 2021 01:25:45 -0800 Subject: [PATCH] free mbedtls --- components/spotify/cspot/bell/src/CryptoMBedTLS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/spotify/cspot/bell/src/CryptoMBedTLS.cpp b/components/spotify/cspot/bell/src/CryptoMBedTLS.cpp index f52c9913..7fbe5c72 100644 --- a/components/spotify/cspot/bell/src/CryptoMBedTLS.cpp +++ b/components/spotify/cspot/bell/src/CryptoMBedTLS.cpp @@ -165,7 +165,7 @@ void CryptoMbedTLS::dhInit() mbedtls_mpi_free(&prime); mbedtls_mpi_free(&generator); mbedtls_mpi_free(&privKey); - //mbedtls_mpi_free(&res); + mbedtls_mpi_free(&res); } std::vector CryptoMbedTLS::dhCalculateShared(const std::vector &remoteKey)