diff options
author | Tim Lammens <tim.lammens@gmail.com> | 2014-09-11 10:35:54 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-09-11 10:44:02 +0530 |
commit | 984c0ea97f649c869130a1ff099098e2b6f70aad (patch) | |
tree | 7acec9da9c0e47c83dfa316088a670974d1986f5 /libio/wfileops.c | |
parent | 3daee1076b3703b01235949e2dcc8e29eb028aad (diff) | |
download | glibc-984c0ea97f649c869130a1ff099098e2b6f70aad.zip glibc-984c0ea97f649c869130a1ff099098e2b6f70aad.tar.gz glibc-984c0ea97f649c869130a1ff099098e2b6f70aad.tar.bz2 |
Fix memory leak in libio/wfileops.c do_ftell_wide [BZ #17370]
Diffstat (limited to 'libio/wfileops.c')
-rw-r--r-- | libio/wfileops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libio/wfileops.c b/libio/wfileops.c index f123add..ebc06e8 100644 --- a/libio/wfileops.c +++ b/libio/wfileops.c @@ -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 |