mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Fix memory leak in libio/wfileops.c do_ftell_wide [BZ #17370]
This commit is contained in:
parent
3daee1076b
commit
984c0ea97f
@ -1,3 +1,8 @@
|
||||
2014-09-11 Tim Lammens <tim.lammens@gmail.com>
|
||||
|
||||
[BZ #17370]
|
||||
* libio/wfileops (do_ftell_wide): Free OUT.
|
||||
|
||||
2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
|
||||
|
2
NEWS
2
NEWS
@ -9,7 +9,7 @@ Version 2.21
|
||||
|
||||
* The following bugs are resolved with this release:
|
||||
|
||||
17363.
|
||||
17363, 17370.
|
||||
|
||||
Version 2.20
|
||||
|
||||
|
@ -711,6 +711,7 @@ do_ftell_wide (_IO_FILE *fp)
|
||||
return WEOF;
|
||||
|
||||
offset += outstop - out;
|
||||
free (out);
|
||||
}
|
||||
|
||||
/* We don't trust _IO_read_end to represent the current file offset
|
||||
|
Loading…
Reference in New Issue
Block a user