From: Julio Sánchez Fernández Date: Wed, 19 May 1999 14:15:15 +0000 (+0000) Subject: Fixed segfault in a ldif2ldbm-bdb2 child X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~43 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9a7b90e0e4870f124c6126508e81275827ce601e;p=openldap Fixed segfault in a ldif2ldbm-bdb2 child --- diff --git a/servers/slapd/back-bdb2/txn.c b/servers/slapd/back-bdb2/txn.c index 7010a3a11a..635b6667b1 100644 --- a/servers/slapd/back-bdb2/txn.c +++ b/servers/slapd/back-bdb2/txn.c @@ -272,7 +272,8 @@ bdb2i_txn_close_files( BackendDB *be ) } - ldbm_close( head->nextidFile ); + if ( head->nextidFile ) + ldbm_close( head->nextidFile ); }