]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorKurt Zeilenga <kurt@openldap.org>
Thu, 6 Apr 2006 21:29:38 +0000 (21:29 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 6 Apr 2006 21:29:38 +0000 (21:29 +0000)
servers/slapd/controls.c
servers/slapd/root_dse.c

index eb624f00ce42fa0d28a1a833623d9b58431b3a3e..26e2461515939dc580e2309ae1f4929c81475776 100644 (file)
@@ -420,7 +420,7 @@ get_supported_controls(char ***ctrloidsp,
        }
        masks = (slap_mask_t *)SLAP_MALLOC( (n + 1) * sizeof(slap_mask_t) );
        if  ( masks == NULL ) {
-               ch_free( oids );
+               SLAP_FREE( oids );
                return LDAP_NO_MEMORY;
        }
 
index c3b30ac63b0a726a20ef6582da3923bd45a0a1ab..ac523a65a5ab383eb187f0d7107fbba91b57c5d5 100644 (file)
@@ -214,7 +214,6 @@ root_dse_info(
                = slap_schema.si_ad_ref;
 
        e = (Entry *) SLAP_CALLOC( 1, sizeof(Entry) );
-
        if( e == NULL ) {
                Debug( LDAP_DEBUG_ANY,
                        "root_dse_info: SLAP_CALLOC failed", 0, 0, 0 );