diff options
author | stephan <stephan@noemail.net> | 2022-12-08 04:19:38 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-12-08 04:19:38 +0000 |
commit | ab8b22a03d033adaa61f82e5c080de64c8200549 (patch) | |
tree | a2b2665e41f228740fd37bc63e6b37d60e381b39 /ext/wasm/api/sqlite3-v-helper.js | |
parent | 1eb1b59b893efb2fd4244d0116beb3c7db250d48 (diff) | |
download | sqlite-ab8b22a03d033adaa61f82e5c080de64c8200549.tar.gz sqlite-ab8b22a03d033adaa61f82e5c080de64c8200549.zip |
Remove some dead JS code and tweak some docs.
FossilOrigin-Name: 0ee495452c014680697aa9035c245024df127a52d1820ab0e02580a015d96ecb
Diffstat (limited to 'ext/wasm/api/sqlite3-v-helper.js')
-rw-r--r-- | ext/wasm/api/sqlite3-v-helper.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/wasm/api/sqlite3-v-helper.js b/ext/wasm/api/sqlite3-v-helper.js index 73ba8cc49..88c86a6a0 100644 --- a/ext/wasm/api/sqlite3-v-helper.js +++ b/ext/wasm/api/sqlite3-v-helper.js @@ -538,6 +538,7 @@ self.sqlite3ApiBootstrap.initializers.push(function(sqlite3){ try{return func(...arguments) || 0;} catch(e){ if(!(e instanceof sqlite3.WasmAllocError)){ + wasm.dealloc(wasm.getPtrValue(pzErr)); wasm.setPtrValue(pzErr, wasm.allocCString(e.message)); } return vt.xError(methodName, e); |