Move libagentx to a new freeing strategy, where we check all objects when
authormartijn <martijn@openbsd.org>
Sat, 23 Oct 2021 14:39:35 +0000 (14:39 +0000)
committermartijn <martijn@openbsd.org>
Sat, 23 Oct 2021 14:39:35 +0000 (14:39 +0000)
commitf00a771dbcc15665581d0f8e438180ee3367ff74
tree81379960a2f71df54ea576c95cd5fe03c63d81f9
parent8b1f2e0e86bf6796efb9cd33f9e698ae37c40cae
Move libagentx to a new freeing strategy, where we check all objects when
a close packet has been received.

This should have little to no performance impact in practice, since under
normal operations we shouldn't free any objects.

OK bluhm@
lib/libagentx/agentx.c
lib/libagentx/agentx_internal.h