diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/tdb/common/transaction.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/tdb/common/transaction.c b/source3/tdb/common/transaction.c index eb296206f9..640cd5014d 100644 --- a/source3/tdb/common/transaction.c +++ b/source3/tdb/common/transaction.c @@ -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 */ |