]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Rework [76c8435a] to eliminate automatic JS-to-WASM function conversions of sqlite3_s...
authorstephan <stephan@noemail.net>
Mon, 3 Feb 2025 17:34:12 +0000 (17:34 +0000)
committerstephan <stephan@noemail.net>
Mon, 3 Feb 2025 17:34:12 +0000 (17:34 +0000)
commit3cd34ab981ebed34bce66c19bb9144e40c6e9204
treec7c0f2bfee04c9e5a71a37279624a28342d1c4c3
parentd98689f4d39c4729ef95a93317eaa7892a6aaed6
Rework [76c8435a] to eliminate automatic JS-to-WASM function conversions of sqlite3_set_auxdata() destructors because it can leads to leaks on every call of a UDF. This feature never worked before [76c8435a] but fixing it was ill-conceived because of the memory leakage it introduces. WASM function pointers can still be used as destructors in this context.

FossilOrigin-Name: 3fb993af0caf041da934cea29c039b27c468be0b75bce1537a6425767cf9bf8d
ext/wasm/api/sqlite3-api-glue.c-pp.js
ext/wasm/tester1.c-pp.js
manifest
manifest.uuid