From: Howard Chu Date: Wed, 18 Dec 2002 22:44:13 +0000 (+0000) Subject: Plug memory leak X-Git-Tag: NO_SLAP_OP_BLOCKS~654 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4e4818771c26a4c02808130970f2a5e4c216ef52;p=openldap Plug memory leak --- diff --git a/servers/slapd/saslauthz.c b/servers/slapd/saslauthz.c index aa01dca507..b243542d9e 100644 --- a/servers/slapd/saslauthz.c +++ b/servers/slapd/saslauthz.c @@ -588,6 +588,7 @@ void slap_sasl2dn( Connection *conn, } rc = slap_parseURI( ®out, &dn, &scope, &filter ); + if( regout.bv_val ) ch_free( regout.bv_val ); if( rc != LDAP_SUCCESS ) { goto FINISHED; }