From 9587cf0f70b876f4c868fb0262ed0ccb7f1abf42 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 5 Apr 2003 20:36:49 +0000 Subject: [PATCH] (_IO_new_file_fopen): Don't free step data right after getting them. --- libio/fileops.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libio/fileops.c b/libio/fileops.c index 3277af8a32..fe8093e7b2 100644 --- a/libio/fileops.c +++ b/libio/fileops.c @@ -398,10 +398,6 @@ _IO_new_file_fopen (fp, filename, mode, is32not64) /* Set the mode now. */ result->_mode = 1; - - /* We don't need the step data structure anymore. */ - __gconv_release_cache (fcts.towc, fcts.towc_nsteps); - __gconv_release_cache (fcts.tomb, fcts.tomb_nsteps); } } #endif /* GNU libc */