From ef62c618d7ef3aff030f0c5592bfc9521553a4a6 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 28 Dec 2001 08:01:01 +0000 Subject: [PATCH] Fix previous commit --- servers/slapd/delete.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5