mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-05 12:40:55 +08: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. */
|
/* Set the mode now. */
|
||||||
result->_mode = 1;
|
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 */
|
#endif /* GNU libc */
|
||||||
|
Loading…
Reference in New Issue
Block a user