projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9496d2e
)
Fix SV leak in Perl_emulate_cop_io(), present since 8b850bd54aa90bd3.
author
Nicholas Clark
<nick@ccl4.org>
Sun, 24 Oct 2010 16:23:17 +0000
(17:23 +0100)
committer
Nicholas Clark
<nick@ccl4.org>
Sun, 24 Oct 2010 16:24:14 +0000
(17:24 +0100)
ext/B/B.xs
patch
|
blob
|
history
diff --git
a/ext/B/B.xs
b/ext/B/B.xs
index
38f0a05
..
6cd3d60
100644
(file)
--- a/
ext/B/B.xs
+++ b/
ext/B/B.xs
@@
-320,7
+320,7
@@
make_cop_io_object(pTHX_ COP *cop)
Perl_emulate_cop_io(aTHX_ cop, value);
if(SvOK(value)) {
- return make_
temp_object(aTHX_ newSVsv(value)
);
+ return make_
sv_object(aTHX_ NULL, value
);
} else {
SvREFCNT_dec(value);
return make_sv_object(aTHX_ NULL, NULL);