diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index e6cae8edf2..4062664bf7 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -8530,7 +8530,7 @@ mdb_cursor_del0(MDB_cursor *mc) } } } - m3->mc_flags |= C_DEL; + mc->mc_flags |= C_DEL; fail: if (rc)