mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
lib/dbwrap: fix db_rbt_store and update the per record node pointer
metze
This commit is contained in:
parent
5b8cb6b2be
commit
a06b9b413e
@ -153,6 +153,7 @@ static NTSTATUS db_rbt_store(struct db_record *rec, TDB_DATA data, int flag)
|
||||
|
||||
memcpy(this_key.dptr, rec->key.dptr, node->keysize);
|
||||
TALLOC_FREE(rec_priv->node);
|
||||
rec_priv->node = node;
|
||||
|
||||
memcpy(this_val.dptr, data.dptr, node->valuesize);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user