mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r22165: merge transaction fix from samba3
This commit is contained in:
parent
529575d07a
commit
ff78be0be4
@ -523,6 +523,8 @@ int tdb_transaction_cancel(struct tdb_context *tdb)
|
||||
F_UNLCK,F_SETLKW, 0, 1);
|
||||
}
|
||||
tdb->num_locks = 0;
|
||||
tdb->num_lockrecs = 0;
|
||||
SAFE_FREE(tdb->lockrecs);
|
||||
}
|
||||
|
||||
/* restore the normal io methods */
|
||||
|
Loading…
Reference in New Issue
Block a user