summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-10-19 08:04:04 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-10-19 08:04:04 +0000
commitebb8ae20a8910cf72ed0fa584e049d39cf475d56 (patch)
tree9b6d937f5f478efeee9d231dd41b74740c77624e /perlio.c
parente47547a83f24974bde05453531e68d7dd8c5ec87 (diff)
downloadperl-ebb8ae20a8910cf72ed0fa584e049d39cf475d56.tar.gz
Remove free() part of change #29045, which causes
panics from miniperl in FreeBSD/multithreaded p4raw-link: @29045 on //depot/perl: e47547a83f24974bde05453531e68d7dd8c5ec87 p4raw-id: //depot/perl@29046
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/perlio.c b/perlio.c
index 63164c4aa7..703085b11a 100644
--- a/perlio.c
+++ b/perlio.c
@@ -2397,15 +2397,6 @@ PerlIO_cleanup(pTHX)
PerlIO_list_free(aTHX_ PL_def_layerlist);
PL_def_layerlist = NULL;
}
-
-#ifdef USE_ITHREADS
- /* only main thread can free refcnt table */
- if (PL_curinterp == aTHX)
-#endif
- {
- Safefree(PL_perlio_fd_refcnt);
- PL_perlio_fd_refcnt = NULL;
- }
}