diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-04-03 03:12:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-04-03 03:12:43 +0000 |
commit | 44c4ccbcca2393bc5081eebea632eeb2b4c61d2e (patch) | |
tree | 9b4cd3c503196f9bad284bcb522260a7518bcf87 /libio/fileops.c | |
parent | f7ddf3d3b79a8762bcf8c9fc8ae22392527ff7f6 (diff) | |
download | glibc-44c4ccbcca2393bc5081eebea632eeb2b4c61d2e.tar.gz glibc-44c4ccbcca2393bc5081eebea632eeb2b4c61d2e.tar.xz glibc-44c4ccbcca2393bc5081eebea632eeb2b4c61d2e.zip |
Update.
2002-04-02 Ulrich Drepper <drepper@redhat.com> * libio/iofclose.c (_IO_new_fclose): Move freeing of backup buffer to ... * libio/fileops.c (_IO_new_file_close_it): ...here [PR libc/3190].
Diffstat (limited to 'libio/fileops.c')
-rw-r--r-- | libio/fileops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/fileops.c b/libio/fileops.c index dbea6318f0..7144a87289 100644 --- a/libio/fileops.c +++ b/libio/fileops.c @@ -177,6 +177,8 @@ _IO_new_file_close_it (fp) #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T else { + if (_IO_have_wbackup (fp)) + INTUSE(_IO_free_wbackup_area) (fp); INTUSE(_IO_wsetb) (fp, NULL, NULL, 0); _IO_wsetg (fp, NULL, NULL, NULL); _IO_wsetp (fp, NULL, NULL); |