From 8af0181362a655ff23eef82558d5c5be63b1d793 Mon Sep 17 00:00:00 2001 From: наб Date: Fri, 21 Apr 2023 03:24:20 +0200 Subject: regex.3: Desoupify regfree() description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ahelenia Ziemiańska Signed-off-by: Alejandro Colomar --- man3/regex.3 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/man3/regex.3 b/man3/regex.3 index e91504986..d91acc19d 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -232,12 +232,12 @@ is filled in with the first .I "errbuf_size \- 1" characters of the error message and a terminating null byte (\[aq]\e0\[aq]). .SS Freeing -Supplying .BR regfree () -with a precompiled pattern buffer, -.IR preg , -will free the memory allocated to the pattern buffer by the compiling -process, +deinitializes the pattern buffer at +.IR *preg , +freeing any associated memory; +.I *preg +must have been initialized via .BR regcomp (). .SH RETURN VALUE .BR regcomp () -- cgit v1.2.3