Page MenuHomePhabricator

[backport#14268] Make SafeDbt DB_DBT_MALLOC on default initialization
ClosedPublic

Authored by majcosta on Sep 2 2020, 19:38.

Details

Summary

If we're constructing the SafeDbt without provided data, it is always malloced,
so that is the case we expose.

Also run clang-format.

https://github.com/bitcoin/bitcoin/pull/14268/commits/4a86a0acd9ac3ca392f0584a5fd079a856e5e4ba#


Depends on D7322

Concludes backport of Core PR14268

Test Plan
ninja check check-functional

Diff Detail

Event Timeline

majcosta requested review of this revision.Sep 2 2020, 19:38

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Sep 2 2020, 19:55