Philippe G hace 3 años
padre
commit
5aca6f974c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      components/spotify/cspot/bell/src/CryptoMBedTLS.cpp

+ 1 - 1
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<uint8_t> CryptoMbedTLS::dhCalculateShared(const std::vector<uint8_t> &remoteKey)