Solutionunvalidated
Remove cleanup from calc_ecdh_key() (lines 131-134), making it NOT responsible for freeing parameters — Keep cleanup in callers (_gnutls_proc_ecdh_common_client_kx and _gnutls_gen_ecdh_common_client_kx_int). Tension: Ensure single ownership of resource lifecycle. Outcome: Alternatively, remove caller cleanup and make calc_ecdh_key() the sole cleanup point.
9e86b3e5-a38a-490c-ae39-a39210c38b25
Remove cleanup from calc_ecdh_key() (lines 131-134), making it NOT responsible for freeing parameters — Keep cleanup in callers (_gnutls_proc_ecdh_common_client_kx and _gnutls_gen_ecdh_common_client_kx_int). Tension: Ensure single ownership of resource lifecycle. Outcome: Alternatively, remove caller cleanup and make calc_ecdh_key() the sole cleanup point.