mirror of git://sourceware.org/git/glibc.git
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>
|
2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
|
* 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:
|
* The following bugs are resolved with this release:
|
||||||
|
|
||||||
17363.
|
17363, 17370.
|
||||||
|
|
||||||
Version 2.20
|
Version 2.20
|
||||||
|
|
||||||
|
|
|
@ -711,6 +711,7 @@ do_ftell_wide (_IO_FILE *fp)
|
||||||
return WEOF;
|
return WEOF;
|
||||||
|
|
||||||
offset += outstop - out;
|
offset += outstop - out;
|
||||||
|
free (out);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We don't trust _IO_read_end to represent the current file offset
|
/* We don't trust _IO_read_end to represent the current file offset
|
||||||
|
|
Loading…
Reference in New Issue