From b4a986163cca7cf3abc30f178ce6c61ad79e3002 Mon Sep 17 00:00:00 2001 From: Rob Percival Date: Mon, 1 Aug 2016 20:08:11 +0100 Subject: Add comment about calling CT_POLICY_EVAL_CTX_free Reviewed-by: Rich Salz Reviewed-by: Matt Caswell --- include/openssl/ct.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') 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. */ -- cgit v1.2.3