Fix potential memory leak in dh_ameth.c
authorScott Wilson <scott@sawilson.xyz>
Thu, 31 Oct 2019 11:37:51 +0000 (22:37 +1100)
committerPatrick Steuer <patrick.steuer@de.ibm.com>
Fri, 1 Nov 2019 11:39:46 +0000 (12:39 +0100)
commit6624e1f7b6a397948561e9cc2774f0c8af1d2c79
tree8af69c2485dd8ba9cc771020175daf618cd3102f
parent6e4618a0d7e84e70703d546a194df887fd624727
Fix potential memory leak in dh_ameth.c

Free dukm in error handling of dh_cms_encrypt()

Fixes #10294

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Patrick Steuer <patrick.steuer@de.ibm.com>
(Merged from https://github.com/openssl/openssl/pull/10310)
crypto/dh/dh_ameth.c