This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix leaks in XS_VERSION_BOOTCHECK
authorFlorian Ragwitz <rafl@debian.org>
Thu, 22 Jul 2010 04:27:04 +0000 (06:27 +0200)
committerSteffen Mueller <smueller@cpan.org>
Thu, 22 Jul 2010 10:02:24 +0000 (12:02 +0200)
commitddb5125fc979ebb146d87e7eedd2e196706c06ea
treee61fe449b6f8ca7065fd678cfc8775c810cb32de
parent114d6fd391232a6b97cfbef2db0e4f17302ee557
Fix leaks in XS_VERSION_BOOTCHECK

The SV holding XS_VERSION, and the version object created from it were
leaked. Also, if the version from perl space wasn't a version object already,
the one that got created leaked.

Additionally, in case of an error, the two SVs returned by vstringify were
leaked.
XSUB.h