Commit 7f9066ce authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Make OPENSSL_free(dh_string_repr) conditional.

parent aaaf082e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1740,6 +1740,7 @@ crypto_store_dynamic_dh_modulus(const char *fname)
 done:
  if (dh)
    DH_free(dh);
  if (dh_string_repr)
    OPENSSL_free(dh_string_repr);
  tor_free(base64_encoded_dh);
  tor_free(file_string);