diff options
| author | ruki <[email protected]> | 2026-07-18 21:54:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-07-18 21:54:50 +0800 |
| commit | cfebf2a690e1a0ad2255f64eec5bec43eeac0049 (patch) | |
| tree | 5659e0542966061f573bf5d948a664ec7605fa73 /core/src/xmake/binutils/coff | |
| parent | 0641a99d357d99e96da49c22cb7d52be5f81c83f (diff) | |
fix mem leaks
Diffstat (limited to 'core/src/xmake/binutils/coff')
| -rw-r--r-- | core/src/xmake/binutils/coff/bin2coff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/binutils/coff/bin2coff.c b/core/src/xmake/binutils/coff/bin2coff.c index ceb984a5c..791d4e2ba 100644 --- a/core/src/xmake/binutils/coff/bin2coff.c +++ b/core/src/xmake/binutils/coff/bin2coff.c @@ -303,12 +303,12 @@ tb_int_t xm_binutils_bin2coff(lua_State *lua) { } while (0); if (istream) { - tb_stream_clos(istream); + tb_stream_exit(istream); } istream = tb_null; if (ostream) { - tb_stream_clos(ostream); + tb_stream_exit(ostream); } ostream = tb_null; |
