diff options
Diffstat (limited to 'src/conftest/hooks/set_proposal_number.c')
-rw-r--r-- | src/conftest/hooks/set_proposal_number.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conftest/hooks/set_proposal_number.c b/src/conftest/hooks/set_proposal_number.c index dd814ad15..3fa53680c 100644 --- a/src/conftest/hooks/set_proposal_number.c +++ b/src/conftest/hooks/set_proposal_number.c @@ -122,7 +122,7 @@ METHOD(listener_t, message, bool, enumerator->destroy(enumerator); } sa = sa_payload_create_from_proposals_v2(updated); - list->destroy_offset(list, offsetof(proposal_t, destroy)); + DESTROY_OFFSET_IF(list, offsetof(proposal_t, destroy)); updated->destroy_offset(updated, offsetof(proposal_t, destroy)); message->add_payload(message, (payload_t*)sa); } |