Fix coverity-1596616
authorNeil Horman <nhorman@openssl.org>
Thu, 25 Apr 2024 12:41:30 +0000 (08:41 -0400)
committerTomas Mraz <tomas@openssl.org>
Fri, 26 Apr 2024 15:09:06 +0000 (17:09 +0200)
commitbadda78325dd961fa41a107796f2744ffbe8b265
tree61dc425793579da50eb5bf40e5243cfd20fecc9a
parentbde66e828dd2869d02225e4aab01d0983f242ae3
Fix coverity-1596616

Need to add a null check prior to derefencing pointer for free

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24263)
crypto/hashtable/hashtable.c