diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-07-04 04:37:00 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-07-04 04:37:00 +0000 |
commit | 6c644e7885bc20d759d8cbcb4abaa8f14113c03b (patch) | |
tree | b06fea5a3d3af10fdc606d828bd9917dfbb7831e /perl.c | |
parent | 612f20c37ac59506501c890e7f9285f551c793d2 (diff) | |
download | perl-6c644e7885bc20d759d8cbcb4abaa8f14113c03b.tar.gz |
fix memory leak on Windows (PL_sys_intern contents were never
freed)
p4raw-id: //depot/perl@6299
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -657,6 +657,10 @@ perl_destruct(pTHXx) SvREFCNT_dec(PL_fdpid); /* needed in io_close() */ PL_fdpid = Nullav; +#ifdef HAVE_INTERP_INTERN + sys_intern_clear(); +#endif + /* Destruct the global string table. */ { /* Yell and reset the HeVAL() slots that are still holding refcounts, |