From 42a0f2c08dbe8ef416122cd6d0db22ccac1ddf48 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Fri, 11 Jul 2025 12:29:31 -0700 Subject: [PATCH] nostrdb: Revert "mem: search cursor close" this is causing heap corruption on the windows build This reverts commit a8d6925a5b33ddbdd4306423527b5d8314f7dd36. --- nostrdb/src/nostrdb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c index 6661e100..c9e00277 100644 --- a/nostrdb/src/nostrdb.c +++ b/nostrdb/src/nostrdb.c @@ -3083,7 +3083,6 @@ int ndb_search_profile(struct ndb_txn *txn, struct ndb_search *search, const cha search->key = k.mv_data; assert(v.mv_size == 8); search->profile_key = *((uint64_t*)v.mv_data); - mdb_cursor_close(search->cursor); return 1; }