Edit

IABSD.fr/src/lib

Branch :

  • Show log

    Commit

  • Author : martijn
    Date : 2020-09-29 14:22:50
    Hash : e5554ca0
    Message : Fix 3 bugs: 1) Don't declare subagentx_index SA_DSTATE_CLOSE until all subfunctions are done with it. This prevents premature freeing of the object. 2) In subagentx_index_free make sure that if an subagentx_object moves out from under us we correct for this. 3) Don't call subagentx_index_free_finalize if sai_cstate is not SA_CSTATE_CLOSE. The first and last can be triggered when calling free while we're disconnected from the agentx master. The second one can only be triggered with when the freed object is not the last one in the list.