dsdb/partition: Remove teardown of data->metadata on partition_metadata_set_sequence_...
authorAndrew Bartlett <abartlet@samba.org>
Thu, 16 May 2019 04:15:39 +0000 (16:15 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 20 May 2019 04:01:10 +0000 (04:01 +0000)
commit99867565a5070c072abcf7abc69bba9849b4984a
treeaf7a8e8a7fe020bc5df6d68a5d2c4096611a6b69
parentbc663a979837f84fbd6d5f3bed1444d170ce7abb
dsdb/partition: Remove teardown of data->metadata on partition_metadata_set_sequence_number() failure

This changes variables that are not the responsiblity of this function, the unlock
implied by partition_del_trans() needs to be done carefully in the right spot.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/partition_metadata.c