mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:47:13 +08:00
13 lines
327 B
Diff
13 lines
327 B
Diff
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
|