diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-06 15:04:03 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-06 15:04:03 +0000 |
commit | 85cdd78cda5343abb5bce44ea1ca132aa141cffb (patch) | |
tree | df099412d92cf7456ea932f9f541fcf8d5e79006 /gv.c | |
parent | 8869a4b7db5149b6d9c970c82998a4dfd04e18b8 (diff) | |
download | perl-85cdd78cda5343abb5bce44ea1ca132aa141cffb.tar.gz |
Fix a small leak on loading *+ and *- globs
p4raw-id: //depot/perl@30487
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1225,6 +1225,8 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags, if (sv_type == SVt_PVHV) require_tie_mod(gv, name, stashname, "FETCH", 0); + else + SvREFCNT_dec(stashname); break; } |