1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Correct a memory leak in tester1.js.

FossilOrigin-Name: e42b052dd754e577b8429e2430821c5f88096170ffa58b4e5e3cb7ee19b6c37d
This commit is contained in:
stephan
2022-12-03 15:41:29 +00:00
parent cbcc08ddc4
commit 9baafdabf7
3 changed files with 8 additions and 7 deletions

View File

@@ -470,6 +470,7 @@ self.sqlite3InitModule = sqlite3InitModule;
T.assert(u[i] === byteList[i])
.assert(u[i] === w.getMemValue(m + i, 'i8'));
}
w.dealloc(m);
T.mustThrowMatching(
()=>w.allocFromTypedArray(1),
'Value is not of a supported TypedArray type.'