Free the correct type in OBJ_add_object()
authorMatt Caswell <matt@openssl.org>
Mon, 12 Mar 2018 15:24:29 +0000 (15:24 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 12 Mar 2018 19:49:44 +0000 (19:49 +0000)
commitc130c0fe1d386fcc05d5b7accf062fe72b7272e8
treee564de1629196dbd974cdf2098379e1076e9fc7e
parent61cd0c946b34b6ae690882b334d77093e063d47c
Free the correct type in OBJ_add_object()

We should be using ASN1_OBJECT_free() not OPENSSL_free().

Fixes #5568

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5597)
crypto/objects/obj_dat.c