Additional fix for ITS#2924: check for availability of

glueBack->be_entry_close before calling it
This commit is contained in:
Ralf Haferkamp 2004-01-19 14:38:15 +00:00
parent bc0161025d
commit 8b3a69ae39

View file

@ -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;