]> git.sur5r.net Git - openldap/commitdiff
Fix previous commit
authorHoward Chu <hyc@openldap.org>
Fri, 28 Dec 2001 08:01:01 +0000 (08:01 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 28 Dec 2001 08:01:01 +0000 (08:01 +0000)
servers/slapd/delete.c

index 5fd4f7f55d48c8bb25894e6374ef7d7925936ce5..faa47846acdc396ef1cee1fe202b4c594b394f35 100644 (file)
@@ -198,7 +198,7 @@ do_delete(
 
 cleanup:
        free( dn.bv_val );
-       if( pdn.bv_val != NULL ) ber_bvfree( pdn.bv_val );
-       if( ndn.bv_val != NULL ) ber_bvfree( ndn.bv_val );
+       free( pdn.bv_val );
+       free( ndn.bv_val );
        return rc;
 }