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/macho | |
| parent | 0641a99d357d99e96da49c22cb7d52be5f81c83f (diff) | |
fix mem leaks
Diffstat (limited to 'core/src/xmake/binutils/macho')
| -rw-r--r-- | core/src/xmake/binutils/macho/bin2macho.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/binutils/macho/bin2macho.c b/core/src/xmake/binutils/macho/bin2macho.c index 0b9dad0c2..c3c1c7a5c 100644 --- a/core/src/xmake/binutils/macho/bin2macho.c +++ b/core/src/xmake/binutils/macho/bin2macho.c @@ -606,12 +606,12 @@ tb_int_t xm_binutils_bin2macho(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; |
