aboutsummaryrefslogtreecommitdiff
path: root/src/malloc.c
diff options
context:
space:
mode:
authordrh <>2023-10-12 17:47:50 +0000
committerdrh <>2023-10-12 17:47:50 +0000
commitc7ad9f65fa49b67c4ff5491f0231daa18f78afeb (patch)
tree85634a48d972b1418c492d45a766bbfe0ed682db /src/malloc.c
parent7d1c9da62dcde30f42f2a1d59aaf466207f922b7 (diff)
parent5d9a6c6734168c8388eba41270fa4415f4dfee1c (diff)
downloadsqlite-c7ad9f65fa49b67c4ff5491f0231daa18f78afeb.tar.gz
sqlite-c7ad9f65fa49b67c4ff5491f0231daa18f78afeb.zip
Merge fixes from trunk into the jsonb branch.
FossilOrigin-Name: a760bd7bcc63aac41c989bb5f4fbc927f9a93fe9c0aa18da2f0131483ec3f189
Diffstat (limited to 'src/malloc.c')
-rw-r--r--src/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/malloc.c b/src/malloc.c
index 48c460060..356750682 100644
--- a/src/malloc.c
+++ b/src/malloc.c
@@ -896,5 +896,5 @@ int sqlite3ApiExit(sqlite3* db, int rc){
if( db->mallocFailed || rc ){
return apiHandleError(db, rc);
}
- return rc & db->errMask;
+ return 0;
}