projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
711690a
)
Fix memory leak in qr// operator. This was most probably
Marcus Holland-Moritz [Sat, 18 Oct 2008 18:04:40 +0000 (18:04 +0000)]
introduced with #30849.
p4raw-id: //depot/perl@34506
pp_hot.c
patch
|
blob
|
blame
|
history
diff --git
a/pp_hot.c
b/pp_hot.c
index
c3d1565
..
fa6ab0c
100644
(file)
--- a/
pp_hot.c
+++ b/
pp_hot.c
@@
-1212,6
+1212,7
@@
PP(pp_qr)
if (pkg) {
HV* const stash = gv_stashpv(SvPV_nolen(pkg), GV_ADD);
+ SvREFCNT_dec(pkg);
(void)sv_bless(rv, stash);
}