ECP-VeloC / AXL

Asynchronous Transfer Library
MIT License
2 stars 8 forks source link

free list of kvtrees on last finalize #124

Closed adammoody closed 2 years ago

adammoody commented 2 years ago

To avoid false positives in memory leak detector tools, this frees the global axl_kvtrees list in AXL_Finalize. In cases multiple users have called AXL_Init within the same program, this adds a reference count to only free the list on the last call to AXL_Finalize.