diff options
author | Karl Williamson <khw@khw-desktop.(none)> | 2010-04-15 21:32:27 -0600 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-04-25 16:31:21 +0200 |
commit | 6e1bad6cc227c8e8bc81402ccd56b118e265a861 (patch) | |
tree | 129662b5977ce789c0379f47a643a6ae9751508d /pod/perldiag.pod | |
parent | a5ec937f8880d8e532d7ae121ac2dc6fc3e5fa9a (diff) | |
download | perl-6e1bad6cc227c8e8bc81402ccd56b118e265a861.tar.gz |
PATCH: memory leak introduced in 5.12.0
There is a small possibility of a memory leak in toke.c when there is a
deprecated character in the name in a \N{...} construct, and the Perl is
embedded or something like that so that memory isn't freed up when it
exits. This patch avoids the creation of a new scalar, and gives a
better error message besides.
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index fe9be7632d..30971c6442 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1452,7 +1452,7 @@ there are neither package declarations nor a C<$VERSION>. long for Perl to handle. You have to be seriously twisted to write code that triggers this error. -=item Deprecated character(s) in \\N{...} starting at '%s' +=item Deprecated character in \\N{...}; marked by <-- HERE in \\N{%s<-- HERE %s (D deprecated) Just about anything is legal for the C<...> in C<\N{...}>. But starting in 5.12, non-reasonable ones that don't look like names are |