nostrdb: Revert "mem: search cursor close"
this is causing heap corruption on the windows build This reverts commit a8d6925a5b33ddbdd4306423527b5d8314f7dd36.
This commit is contained in:
committed by
Daniel D’Aquino
parent
aa8ce31941
commit
42a0f2c08d
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user