summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-07-04 04:07:46 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-07-04 04:07:46 +0000
commitcf36064f875775fbd01f4387ab083483e8fa24f8 (patch)
treed3382439c0f2135f1adfbdcbccf514c20d3b837f /perl.c
parentb9fee9baee77e65285db6dc2a81cd0157909d1bd (diff)
downloadperl-cf36064f875775fbd01f4387ab083483e8fa24f8.tar.gz
fix ~320 byte memory leak (psig_{ptr,name} tables were never freed)
p4raw-id: //depot/perl@6297
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index ade1d3cf07..eb454b91c1 100644
--- a/perl.c
+++ b/perl.c
@@ -716,6 +716,8 @@ perl_destruct(pTHXx)
Safefree(PL_reg_poscache);
Safefree(HeKEY_hek(&PL_hv_fetch_ent_mh));
Safefree(PL_op_mask);
+ Safefree(PL_psig_ptr);
+ Safefree(PL_psig_name);
nuke_stacks();
PL_hints = 0; /* Reset hints. Should hints be per-interpreter ? */