Skip to content
Snippets Groups Projects
  • Mike Bradeen's avatar
    ea941032
    astobj2.c: Fix core when ref_log enabled · ea941032
    Mike Bradeen authored
    In the AO2_ALLOC_OPT_LOCK_NOLOCK case the referenced obj
    structure is freed, but is then referenced later if ref_log is
    enabled. The change is to store the obj->priv_data.options value
    locally and reference it instead of the value from the freed obj
    
    ASTERISK-29730
    
    Change-Id: I60cc5dc1f5a4330e7ad56976fc38a42de0ab6072
    ea941032
    History
    astobj2.c: Fix core when ref_log enabled
    Mike Bradeen authored
    In the AO2_ALLOC_OPT_LOCK_NOLOCK case the referenced obj
    structure is freed, but is then referenced later if ref_log is
    enabled. The change is to store the obj->priv_data.options value
    locally and reference it instead of the value from the freed obj
    
    ASTERISK-29730
    
    Change-Id: I60cc5dc1f5a4330e7ad56976fc38a42de0ab6072