970c1ff 593110 - backup-restore does not ALWAYS work

Authored and Committed by nhosoi 13 years ago
    593110 - backup-restore does not ALWAYS work
    
    https://bugzilla.redhat.com/show_bug.cgi?id=593110
    
    Fix description:
    ldap/servers/slapd/back-ldbm/dblayer.c -- A memory area that
    stores nsslapd-directory was shared between 2 structures:
    struct ldbminfo and dblayer_private.  In dblayer_post_close,
    dblayer_private is released but not struct ldbminfo.  The
    latter does not know the memory area is freed.  This fix
    changes it so that each structure has its own copy.
    
    ldap/servers/plugins/acl/acl.c -- A variable result_status
    had a chance to be evaluated w/o an initialization.