kernel: Remove NONNULL annotation from destroy method

No other *_destroy function in the Kernel API carries this annotation.
Following the convention set by free(), destroy functions should accept
null pointers.
This commit is contained in:
Alexander Wiederin
2026-04-01 13:23:54 +02:00
parent 8e789322c5
commit 75608547b4

View File

@@ -1344,7 +1344,7 @@ BITCOINKERNEL_API btck_BlockValidationState* BITCOINKERNEL_WARN_UNUSED_RESULT bt
* Destroy the btck_BlockValidationState.
*/
BITCOINKERNEL_API void btck_block_validation_state_destroy(
btck_BlockValidationState* block_validation_state) BITCOINKERNEL_ARG_NONNULL(1);
btck_BlockValidationState* block_validation_state);
///@}