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:52:24 +0000 (13:52 +0100)
commit01088602522015906654877ad2730ce805f3f925
tree4f87addbf2338191b0f32d92a97c102a065d4d76
parent5802de95768aabec92b1f09a1c5ae13763a8da86
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)

(cherry picked from commit 7054fc1ca3945342777f588fba43b77f669509ad)
crypto/x509/v3_sxnet.c