From 099be74d28edd04dff9753751c2f0f6a5cdeb9fe Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Thu, 23 Feb 2023 13:51:43 +0000 Subject: [PATCH] Change free'd to freed for consistency Also clarify that the user must use mbedtls_free(). Signed-off-by: David Horstmann --- include/mbedtls/oid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mbedtls/oid.h b/include/mbedtls/oid.h index 49f4af5208..b2f5dd196b 100644 --- a/include/mbedtls/oid.h +++ b/include/mbedtls/oid.h @@ -471,7 +471,7 @@ int mbedtls_oid_get_numeric_string(char *buf, size_t size, const mbedtls_asn1_bu * of an ASN.1 OID into its encoded form * (e.g. "1.2.840.113549" into "\x2A\x86\x48\x86\xF7\x0D") * On success, this function allocates oid->buf from the - * heap. It must be free'd by the caller. + * heap. It must be freed by the caller using mbedtls_free(). * * \param oid mbedtls_asn1_buf to populate with the DER-encoded OID * \param oid_str string representation of the OID to parse