summaryrefslogtreecommitdiffstats
path: root/man3/regex.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/regex.3')
-rw-r--r--man3/regex.310
1 files 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 ()