summaryrefslogtreecommitdiff
path: root/doc/pcre2_code_free.3
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-06-28 16:26:03 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-06-28 16:26:03 +0000
commit739394485b92abcb5a5e2298c0b4591c9b367abf (patch)
treece3872817f16ca75929bccb7dc0cdc70ab794d4e /doc/pcre2_code_free.3
parent7ece579ef421b3ae1e6625ffd22a36a01584209a (diff)
downloadpcre2-739394485b92abcb5a5e2298c0b4591c9b367abf.tar.gz
Documentation update for NULL arguments.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@951 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'doc/pcre2_code_free.3')
-rw-r--r--doc/pcre2_code_free.35
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/pcre2_code_free.3 b/doc/pcre2_code_free.3
index 7376869..9e0ad3c 100644
--- a/doc/pcre2_code_free.3
+++ b/doc/pcre2_code_free.3
@@ -1,4 +1,4 @@
-.TH PCRE2_CODE_FREE 3 "23 March 2017" "PCRE2 10.30"
+.TH PCRE2_CODE_FREE 3 "28 June 2018" "PCRE2 10.32"
.SH NAME
PCRE2 - Perl-compatible regular expressions (revised API)
.SH SYNOPSIS
@@ -13,7 +13,8 @@ PCRE2 - Perl-compatible regular expressions (revised API)
.SH DESCRIPTION
.rs
.sp
-This function frees the memory used for a compiled pattern, including any
+If \fIcode\fP is NULL, this function does nothing. Otherwise, \fIcode\fP must
+point to a compiled pattern. This function frees its memory, including any
memory used by the JIT compiler. If the compiled pattern was created by a call
to \fBpcre2_code_copy_with_tables()\fP, the memory for the character tables is
also freed.