aboutsummaryrefslogtreecommitdiff
path: root/src/wal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wal.c')
-rw-r--r--src/wal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wal.c b/src/wal.c
index a6bc7c121..9a9b2dc0e 100644
--- a/src/wal.c
+++ b/src/wal.c
@@ -1167,7 +1167,7 @@ recovery_error:
** Close an open wal-index.
*/
static void walIndexClose(Wal *pWal, int isDelete){
- sqlite3OsShmClose(pWal->pDbFd, isDelete);
+ sqlite3OsShmUnmap(pWal->pDbFd, isDelete);
}
/*