From: Howard Chu Date: Fri, 28 Dec 2001 08:01:01 +0000 (+0000) Subject: Fix previous commit X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~437 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ef62c618d7ef3aff030f0c5592bfc9521553a4a6;p=openldap Fix previous commit --- diff --git a/servers/slapd/delete.c b/servers/slapd/delete.c index 5fd4f7f55d..faa47846ac 100644 --- a/servers/slapd/delete.c +++ b/servers/slapd/delete.c @@ -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; }