]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Fix lock leak.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 3 Oct 2001 18:59:42 +0000 (18:59 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 3 Oct 2001 18:59:42 +0000 (18:59 +0000)
libraries/libldbm/ldbm.c

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