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.
To avoid false positives in memory leak detector tools, this frees the global
axl_kvtrees
list in AXL_Finalize. In cases multiple users have calledAXL_Init
within the same program, this adds a reference count to only free the list on the last call toAXL_Finalize
.