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/bin2c.c | |
| parent | 0641a99d357d99e96da49c22cb7d52be5f81c83f (diff) | |
fix mem leaks
Diffstat (limited to 'core/src/xmake/binutils/bin2c.c')
| -rw-r--r-- | core/src/xmake/binutils/bin2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/binutils/bin2c.c b/core/src/xmake/binutils/bin2c.c index b5054c55f..3c639d059 100644 --- a/core/src/xmake/binutils/bin2c.c +++ b/core/src/xmake/binutils/bin2c.c @@ -209,12 +209,12 @@ tb_int_t xm_binutils_bin2c(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; |
