From: jasper-smit-servicenow Date: Thu, 18 Jul 2024 07:45:22 +0000 (+0200) Subject: Update X509V3_get_d2i.pod returned pointer needs to be freed X-Git-Tag: openssl-3.4.0-alpha1~302 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4fd94851261c55f9ad020bf22d4f29bda0b58be;p=thirdparty%2Fopenssl.git Update X509V3_get_d2i.pod returned pointer needs to be freed CLA: trivial Reviewed-by: Tomas Mraz Reviewed-by: Tom Cosgrove Reviewed-by: Todd Short (Merged from https://github.com/openssl/openssl/pull/24927) --- diff --git a/doc/man3/X509V3_get_d2i.pod b/doc/man3/X509V3_get_d2i.pod index b5abd2ff28c..d631ffba888 100644 --- a/doc/man3/X509V3_get_d2i.pod +++ b/doc/man3/X509V3_get_d2i.pod @@ -119,6 +119,7 @@ The function X509V3_get_d2i() and its variants will return NULL if the extension is not found, occurs multiple times or cannot be decoded. It is possible to determine the precise reason by checking the value of I<*crit>. +The returned pointer must be explicitly freed. The function X509V3_add1_i2d() and its variants allocate B objects on STACK I<*x> depending on I. The B objects