From: Ralf Haferkamp Date: Mon, 19 Jan 2004 14:38:15 +0000 (+0000) Subject: Additional fix for ITS#2924: check for availability of X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8b3a69ae39043cd08e1aef1647b46a968c699a0b;p=openldap Additional fix for ITS#2924: check for availability of glueBack->be_entry_close before calling it --- diff --git a/servers/slapd/backglue.c b/servers/slapd/backglue.c index c9c29a1860..6185ed77f9 100644 --- a/servers/slapd/backglue.c +++ b/servers/slapd/backglue.c @@ -464,7 +464,8 @@ glue_tool_entry_next ( /* If we ran out of entries in one database, move on to the next */ while (rc == NOID) { - glueBack->be_entry_close (glueBack); + if ( glueBack && glueBack->be_entry_close ) + glueBack->be_entry_close (glueBack); for (i=0; inodes; i++) { if (gi->n[i].be == glueBack) break;