Plug rdwr lock leak

This commit is contained in:
Kurt Zeilenga 2000-07-27 18:43:21 +00:00
parent 8e681dbbfe
commit cf9880e3ef
3 changed files with 1 additions and 3 deletions

View File

@ -8,6 +8,7 @@ Changes included in OpenLDAP 1.2.12 Engineering
Fixed libldap/add mod_bvalues typo
Fixed ldappasswd crypt(3) crash (ITD#598)
Fixed slapd/config.c MAXARGS boundary condition bug
Fixed cn=monitor/config rdwr lock leak
Build Environment
Remove extra Digital UNIX symbol (ITS#590)
Ignore make clean rm failure

View File

@ -42,8 +42,6 @@ config_info(
vals[1] = NULL;
e = (Entry *) ch_calloc( 1, sizeof(Entry) );
/* initialize reader/writer lock */
entry_rdwr_init(e);
e->e_attrs = NULL;
e->e_dn = ch_strdup( SLAPD_CONFIG_DN );

View File

@ -47,7 +47,6 @@ monitor_info( Connection *conn, Operation *op,
e = (Entry *) ch_calloc( 1, sizeof(Entry) );
/* initialize reader/writer lock */
entry_rdwr_init(e);
e->e_attrs = NULL;
e->e_dn = ch_strdup( SLAPD_MONITOR_DN );
e->e_ndn = dn_normalize_case( ch_strdup(SLAPD_MONITOR_DN) );