From 84839d1c43c7f4e09f2cef5c6b0164b76dfb49fa Mon Sep 17 00:00:00 2001 From: William Casarin Date: Fri, 11 Jul 2025 12:24:41 -0700 Subject: [PATCH] nostrdb: mem: search cursor close --- nostrdb/src/nostrdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c index ab2d6f7d..a1090134 100644 --- a/nostrdb/src/nostrdb.c +++ b/nostrdb/src/nostrdb.c @@ -3080,6 +3080,7 @@ 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; }