dsdb/partition: Move in_transaction decrement to end of partition_del_trans()
authorAndrew Bartlett <abartlet@samba.org>
Thu, 16 May 2019 03:12:55 +0000 (15:12 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 20 May 2019 04:01:10 +0000 (04:01 +0000)
commitbc663a979837f84fbd6d5f3bed1444d170ce7abb
treea954aec306cc0a9da8c33cdf7786c7e1284f9f7b
parent7567f29211f7da35a785bd8c8cee999b0b24a078
dsdb/partition: Move in_transaction decrement to end of partition_del_trans()

It makes no sense for this to be mid-function.

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