From: Pierangelo Masarati Date: Mon, 27 Aug 2007 07:14:04 +0000 (+0000) Subject: close LDIF handler (valgrind) X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~60 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8931d68e3704c8112fec1fbb1281b6a0bf960c49;p=openldap close LDIF handler (valgrind) --- diff --git a/servers/slapd/slapcommon.c b/servers/slapd/slapcommon.c index 0ce9fc9e3b..5df0045557 100644 --- a/servers/slapd/slapcommon.c +++ b/servers/slapd/slapcommon.c @@ -760,4 +760,8 @@ void slap_tool_destroy( void ) if ( !BER_BVISNULL( &authcDN ) ) { ch_free( authcDN.bv_val ); } + + if ( ldiffp && ldiffp != &dummy ) { + ldif_close( ldiffp ); + } }