diff --git a/servers/slapd/back-bdb/passwd.c b/servers/slapd/back-bdb/passwd.c index 917659555c..8dff5ef09e 100644 --- a/servers/slapd/back-bdb/passwd.c +++ b/servers/slapd/back-bdb/passwd.c @@ -280,6 +280,10 @@ done: free( hash.bv_val ); } + if( ndn.bv_val != NULL ) { + free( ndn.bv_val ); + } + if( ltid != NULL ) { TXN_ABORT( ltid ); op->o_private = NULL;