summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2014-11-07 01:15:18 -0500
committerFather Chrysostomos <sprout@cpan.org>2014-11-07 08:12:06 -0800
commit93f5d0e84de625ae81930095bb540c0d9dbda3f2 (patch)
tree511975957d8e5f9491256ad45811f472520cea25 /perl.c
parent8bd3839933be0a83f4370b836f1e7a654d778c9b (diff)
downloadperl-93f5d0e84de625ae81930095bb540c0d9dbda3f2.tar.gz
remove obsolete PL_apiversion
Commit 0e42d607f5 made PL_apiversion unused. Remove it to save memory in interp struct.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index 71ba0ff28c..d61436aec0 100644
--- a/perl.c
+++ b/perl.c
@@ -325,7 +325,6 @@ perl_construct(pTHXx)
PL_stashcache = newHV();
PL_patchlevel = newSVpvs("v" PERL_VERSION_STRING);
- PL_apiversion = newSVpvs("v" PERL_API_VERSION_STRING);
#ifdef HAS_MMAP
if (!PL_mmap_page_size) {
@@ -906,7 +905,6 @@ perl_destruct(pTHXx)
Safefree(PL_inplace);
PL_inplace = NULL;
SvREFCNT_dec(PL_patchlevel);
- SvREFCNT_dec(PL_apiversion);
if (PL_e_script) {
SvREFCNT_dec(PL_e_script);