mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
Additional fix for ITS#2924: check for availability of
glueBack->be_entry_close before calling it
This commit is contained in:
parent
bc0161025d
commit
8b3a69ae39
1 changed files with 2 additions and 1 deletions
|
|
@ -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; i<gi->nodes; i++) {
|
||||
if (gi->n[i].be == glueBack)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue