Skip to content

Commit ec44c18

Browse files
committed
1 parent e178659 commit ec44c18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
646646
by bound parameters.
647647
*/
648648
Statement.prototype["reset"] = function reset() {
649-
this.freemem();
649+
this["freemem"]();
650650
return (
651651
sqlite3_clear_bindings(this.stmt) === SQLITE_OK
652652
&& sqlite3_reset(this.stmt) === SQLITE_OK
@@ -666,7 +666,7 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
666666
*/
667667
Statement.prototype["free"] = function free() {
668668
var res;
669-
this.freemem();
669+
this["freemem"]();
670670
res = sqlite3_finalize(this.stmt) === SQLITE_OK;
671671
delete this.db.statements[this.stmt];
672672
this.stmt = NULL;

0 commit comments

Comments
 (0)