1
0
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:
Andrew Tridgell 2007-04-11 05:45:02 +00:00 committed by Gerald (Jerry) Carter
parent 529575d07a
commit ff78be0be4

View File

@ -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 */