diff options
author | Father Chrysostomos <sprout@cpan.org> | 2017-11-26 16:33:09 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2017-11-26 16:33:09 -0800 |
commit | 8276e333951d35e9f1f651314089b54c9a3762c4 (patch) | |
tree | 63fa1422a9b0057271ddc44bcc0ac28661800663 /toke.c | |
parent | 0b4678bf303b7fe204f4cf0bd124b1f9db5b13f0 (diff) | |
download | perl-8276e333951d35e9f1f651314089b54c9a3762c4.tar.gz |
toke.c: Don’t leak memory
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9331,6 +9331,7 @@ S_parse_ident(pTHX_ char **s, char **d, char * const e, int allow_package, char *d2; Newx(d, *s - olds + saw_tick + 2, char); /* +2 for $# */ d2 = d; + SAVEFREEPV(d); Perl_warner(aTHX_ packWARN(WARN_SYNTAX), "Old package separator used in string"); if (olds[-1] == '#') |