From: Rob Percival Date: Mon, 1 Aug 2016 19:08:11 +0000 (+0100) Subject: Add comment about calling CT_POLICY_EVAL_CTX_free X-Git-Tag: OpenSSL_1_1_0~40 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=b4a986163cca7cf3abc30f178ce6c61ad79e3002 Add comment about calling CT_POLICY_EVAL_CTX_free Reviewed-by: Rich Salz Reviewed-by: Matt Caswell --- diff --git a/include/openssl/ct.h b/include/openssl/ct.h index 6cedb693c0..2a67731520 100644 --- a/include/openssl/ct.h +++ b/include/openssl/ct.h @@ -61,7 +61,11 @@ DEFINE_STACK_OF(CTLOG) * CT policy evaluation context functions * ******************************************/ -/* Creates a new, empty policy evaluation context */ +/* + * Creates a new, empty policy evaluation context. + * The caller is responsible for calling CT_POLICY_EVAL_CTX_free when finished + * with the CT_POLICY_EVAL_CTX. + */ CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new(void); /* Deletes a policy evaluation context and anything it owns. */