Skip to content
Snippets Groups Projects
Forked from openldap / OpenLDAP
Source project has a limited visibility.
  • Hallvard Furuseth's avatar
    d729901a
    ITS#6437, slap_sl_mem_create(): · d729901a
    Hallvard Furuseth authored and Quanah Gibson-Mount's avatar Quanah Gibson-Mount committed
    Bugfix: Switching implementation stack<->pool on an old context could
            crash or leak, it ran the wrong implementation's cleanup code.
    Cleanup:  Factor out identical stack/pool code.  Call
              slap_sl_mem_destroy(NULL,) instead of copying its pool code.
    API change: slap_sl_mem_destroy(key=NULL,) gets a new meaning.  Does
                not affect current OpenLDAP code, it never passed NULL.
    d729901a
    History
    ITS#6437, slap_sl_mem_create():
    Hallvard Furuseth authored and Quanah Gibson-Mount's avatar Quanah Gibson-Mount committed
    Bugfix: Switching implementation stack<->pool on an old context could
            crash or leak, it ran the wrong implementation's cleanup code.
    Cleanup:  Factor out identical stack/pool code.  Call
              slap_sl_mem_destroy(NULL,) instead of copying its pool code.
    API change: slap_sl_mem_destroy(key=NULL,) gets a new meaning.  Does
                not affect current OpenLDAP code, it never passed NULL.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.