close LDIF handler (valgrind)

This commit is contained in:
Pierangelo Masarati 2007-08-27 07:14:04 +00:00
parent 09cbbb92a7
commit 8931d68e37

View File

@ -760,4 +760,8 @@ void slap_tool_destroy( void )
if ( !BER_BVISNULL( &authcDN ) ) { if ( !BER_BVISNULL( &authcDN ) ) {
ch_free( authcDN.bv_val ); ch_free( authcDN.bv_val );
} }
if ( ldiffp && ldiffp != &dummy ) {
ldif_close( ldiffp );
}
} }