]> git.sur5r.net Git - openldap/commitdiff
close LDIF handler (valgrind)
authorPierangelo Masarati <ando@openldap.org>
Mon, 27 Aug 2007 07:14:04 +0000 (07:14 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 27 Aug 2007 07:14:04 +0000 (07:14 +0000)
servers/slapd/slapcommon.c

index 0ce9fc9e3b657e29de8cf2aaa8d0e749ff99ea22..5df004555741f1384aaa98b8d3846aa1ff0f9905 100644 (file)
@@ -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 );
+       }
 }