Fix potential memory leak in dh_ameth.c
Fix potential memory leak in dh_ameth.c

Free dukm in error handling of dh_cms_encrypt()

Fixes #10294

Reviewed-by: Matt Caswell <1fa2ef4755a9226cb9a0a4840bd89b158ac71391@openssl.org>
Reviewed-by: Patrick Steuer <0d1e6eb02b051a0fb05954a8a115445ceed2dd93@de.ibm.com>
(Merged from https://github.com/openssl/openssl/pull/10310)

openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl