mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-17 23:54:16 +08:00
libtcc: Fix a double free, when option -o is used twice
Some checks failed
build and test / test-x86_64-linux (push) Has been cancelled
build and test / test-x86_64-osx (push) Has been cancelled
build and test / test-aarch64-osx (push) Has been cancelled
build and test / test-x86-win32 (push) Has been cancelled
build and test / test-armv7-linux (push) Has been cancelled
build and test / test-aarch64-linux (push) Has been cancelled
build and test / test-riscv64-linux (push) Has been cancelled
Some checks failed
build and test / test-x86_64-linux (push) Has been cancelled
build and test / test-x86_64-osx (push) Has been cancelled
build and test / test-aarch64-osx (push) Has been cancelled
build and test / test-x86-win32 (push) Has been cancelled
build and test / test-armv7-linux (push) Has been cancelled
build and test / test-aarch64-linux (push) Has been cancelled
build and test / test-riscv64-linux (push) Has been cancelled
tcc_set_str() already calls tcc_free() to free the memory of the stringpointer in s->outfile. With the additional tcc_free(), the memory would be freed twice. -- Regards ... Detlef
This commit is contained in:
parent
f2b9fcf85d
commit
5fad6dc4a3
Loading…
Reference in New Issue
Block a user