about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-05 20:36:49 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-05 20:36:49 +0000
commit9587cf0f70b876f4c868fb0262ed0ccb7f1abf42 (patch)
treed153a7db34f196ff4abee243366a692de29c7e6f /libio
parent743f1874ad67aa2f1b734be1ee752f5935da5eb2 (diff)
downloadglibc-9587cf0f70b876f4c868fb0262ed0ccb7f1abf42.tar.gz
glibc-9587cf0f70b876f4c868fb0262ed0ccb7f1abf42.tar.xz
glibc-9587cf0f70b876f4c868fb0262ed0ccb7f1abf42.zip
(_IO_new_file_fopen): Don't free step data right after getting them.
Diffstat (limited to 'libio')
-rw-r--r--libio/fileops.c4
1 files changed, 0 insertions, 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 */