Fix lock leak.

This commit is contained in:
Kurt Zeilenga 2001-10-03 18:59:42 +00:00
parent eccef780fc
commit c3f8eff88a

View file

@ -522,6 +522,7 @@ ldbm_firstkey( LDBM ldbm, LDBMCursor **dbch )
# endif
{
key.dptr = NULL;
LDBM_UNLOCK;
return( key );
} else {
*dbch = dbci;