Avoid memory leak if SXNET_add_id_INTEGER() fails
authorTomas Mraz <tomas@openssl.org>
Fri, 5 Jan 2024 10:01:34 +0000 (11:01 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 8 Jan 2024 12:51:45 +0000 (13:51 +0100)
commit7054fc1ca3945342777f588fba43b77f669509ad
tree64164a7c286c8a39246ff0f2ceb48137b6b78e4d
parent8d8c1600aed80b30e6dc00cbf1a9559feabec8ca
Avoid memory leak if SXNET_add_id_INTEGER() fails

Fixes Coverity 1560046

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23211)
crypto/x509/v3_sxnet.c