From 8b3a69ae39043cd08e1aef1647b46a968c699a0b Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Mon, 19 Jan 2004 14:38:15 +0000 Subject: [PATCH] Additional fix for ITS#2924: check for availability of glueBack->be_entry_close before calling it --- servers/slapd/backglue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5