From: Ulrich Drepper Date: Sat, 5 Apr 2003 20:36:49 +0000 (+0000) Subject: (_IO_new_file_fopen): Don't free step data right after getting them. X-Git-Tag: cvs/glibc-2_3_3~950 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9587cf0f70b876f4c868fb0262ed0ccb7f1abf42;p=thirdparty%2Fglibc.git (_IO_new_file_fopen): Don't free step data right after getting them. --- diff --git a/libio/fileops.c b/libio/fileops.c index 3277af8a323..fe8093e7b26 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 */