projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
8ce4ea0
)
Plug a memory leak in Encode
Rafael Garcia-Suarez [Tue, 29 May 2007 15:48:27 +0000 (15:48 +0000)]
p4raw-id: //depot/perl@31307
ext/Encode/Encode.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/Encode/Encode.xs
b/ext/Encode/Encode.xs
index
c86ce82
..
265aec0
100644
(file)
--- a/
ext/Encode/Encode.xs
+++ b/
ext/Encode/Encode.xs
@@
-87,6
+87,7
@@
do_fallback_cb(pTHX_ UV ch)
LEAVE;
retval = newSVpv("",0);
sv_catsv(retval, temp);
+ SvREFCNT_dec(temp);
return retval;
}