Skip to content
Snippets Groups Projects
  • Corey Farrell's avatar
    ea9768ff
    stringfields: Remove MALLOC_DEBUG fields from struct ast_string_field_mgr. · ea9768ff
    Corey Farrell authored
    This causes MALLOC_DEBUG reporting to be slightly different, calls which
    cause additional memory pools to be allocated now report the callers
    location rather than the location which originally allocated the
    string field structure.  This reduces storage needed by string fields
    and allows MALLOC_DEBUG to identify the source of additional allocations
    rather than obscuring it by reporting the original allocation caller.
    
    Change-Id: Idd18e6639a87ab862079b580c114d90361412289
    ea9768ff
    History
    stringfields: Remove MALLOC_DEBUG fields from struct ast_string_field_mgr.
    Corey Farrell authored
    This causes MALLOC_DEBUG reporting to be slightly different, calls which
    cause additional memory pools to be allocated now report the callers
    location rather than the location which originally allocated the
    string field structure.  This reduces storage needed by string fields
    and allows MALLOC_DEBUG to identify the source of additional allocations
    rather than obscuring it by reporting the original allocation caller.
    
    Change-Id: Idd18e6639a87ab862079b580c114d90361412289