1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3:registry: don't loop transaction_commit in create_sorted_subkeys() upon error

This would try to commit a higher level transaction upon commit-error.

Michael
This commit is contained in:
Michael Adam 2009-07-07 12:39:32 +02:00
parent 6cb14409af
commit 4c366a0946

View File

@ -1203,7 +1203,7 @@ static bool create_sorted_subkeys(const char *key, const char *sorted_keyname)
if (regdb->transaction_commit(regdb) == -1) {
DEBUG(0, ("create_sorted_subkeys: transaction_start "
"failed\n"));
goto fail;
result = false;
}
TALLOC_FREE(ctr);