Fix memory leaks in XS_PerlIO_get_layers() by mortalizing
authorMarcus Holland-Moritz <mhx-perl@gmx.net>
Thu, 3 Jan 2008 17:07:06 +0000 (17:07 +0000)
committerMarcus Holland-Moritz <mhx-perl@gmx.net>
Thu, 3 Jan 2008 17:07:06 +0000 (17:07 +0000)
commit1eb9e81d303aab0f6c2386f44bc76241948fce0f
tree58d6ec74be25782902a1e976d0c4ec8a68eb5d70
parent4ea5041177724167b8ebcdd1a7c30762d7639fc4
Fix memory leaks in XS_PerlIO_get_layers() by mortalizing
all variables pushed on the stack. Also make sure the loop
is using mXPUSHi() and not XPUSHi().

p4raw-id: //depot/perl@32816
universal.c