summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-05-21 09:02:38 +0200
committerNicholas Clark <nick@ccl4.org>2009-05-21 09:02:38 +0200
commitd525a7b2081fbd38d70ffb150fc7fe6d30d0b62d (patch)
tree1e58d21e30ab60df1cdec9aa5c9b09799ccc92a3 /perl.c
parent708854f2ff3eebc1ddfd657353b5092eae729cb8 (diff)
downloadperl-d525a7b2081fbd38d70ffb150fc7fe6d30d0b62d.tar.gz
Use only one block of memory for both PL_psig_name and PL_psig_ptr.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index fa7a5e1b3e..73082ba476 100644
--- a/perl.c
+++ b/perl.c
@@ -1228,10 +1228,9 @@ perl_destruct(pTHXx)
Safefree(PL_reg_poscache);
free_tied_hv_pool();
Safefree(PL_op_mask);
- Safefree(PL_psig_ptr);
- PL_psig_ptr = (SV**)NULL;
Safefree(PL_psig_name);
PL_psig_name = (SV**)NULL;
+ PL_psig_ptr = (SV**)NULL;
Safefree(PL_psig_pend);
PL_psig_pend = (int*)NULL;
PL_formfeed = NULL;