mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
(_IO_new_file_fopen): Don't free step data right after getting them.
This commit is contained in:
parent
743f1874ad
commit
9587cf0f70
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user