Fix a few places where we forgot to close the text codecs (#4029)
authorSimon Marlow <marlowsd@gmail.com>
Fri, 2 Jul 2010 13:02:10 +0000 (13:02 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 2 Jul 2010 13:02:10 +0000 (13:02 +0000)
commitb5c54282dc54cc861277ae532224775076a4818e
tree44c03eefccb5444fdf36a77c897d41e5e165ef5e
parentdc372329214c1e8ef32f1a20173c3e8cc6dc0572
Fix a few places where we forgot to close the text codecs (#4029)
Each time you invoke :load in GHCi it resets the CAFs, including
stdin/stdout/stderr, and each of these was allocating a new iconv_t.
GHC/IO/Handle.hs
GHC/IO/Handle/FD.hs
GHC/IO/Handle/Internals.hs