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:52:06 +0000 (19:52 +0000)
commit98e4c100d2cd33f3be24b1210f403ef1a41fa36a
tree59e92f3319ea136999703e928f6ba631718c2d49
parent7e454ca3660af9416dcea0195ebe86fc3ff2fd80
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/5598)
crypto/objects/obj_dat.c