Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
da72dab3
Commit
da72dab3
authored
Feb 12, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5332
parent
e112b832
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
da72dab3
...
...
@@ -28,6 +28,7 @@ OpenLDAP 2.4.8 Engineering
Fixed slapd-bdb crash with modrdn (ITS#5358)
Fixed slapd-bdb segv with bdb4.6 (ITS#5322)
Fixed slapd-bdb modrdn to same dn (ITS#5319)
Fixed slapd-bdb MMR (ITS#5332)
Added slapd-bdb/slapd-hdb DB encryption (ITS#5359)
Fixed slapd-ldif delete (ITS#5265)
Fixed slapd-meta link to slapd-ldap (ITS#5355)
...
...
servers/slapd/back-bdb/cache.c
View file @
da72dab3
...
...
@@ -251,15 +251,17 @@ bdb_cache_return_entry_rw( struct bdb_info *bdb, Entry *e,
EntryInfo
*
ei
;
int
free
=
0
;
bdb_cache_entry_db_unlock
(
bdb
,
lock
);
ei
=
e
->
e_private
;
bdb_cache_entryinfo_lock
(
ei
);
if
(
ei
->
bei_state
&
CACHE_ENTRY_NOT_CACHED
)
{
ei
->
bei_e
=
NULL
;
ei
->
bei_state
^=
CACHE_ENTRY_NOT_CACHED
;
free
=
1
;
bdb_cache_entry_db_unlock
(
bdb
,
lock
);
if
(
ei
)
{
bdb_cache_entryinfo_lock
(
ei
);
if
(
ei
->
bei_state
&
CACHE_ENTRY_NOT_CACHED
)
{
ei
->
bei_e
=
NULL
;
ei
->
bei_state
^=
CACHE_ENTRY_NOT_CACHED
;
free
=
1
;
}
bdb_cache_entryinfo_unlock
(
ei
);
}
bdb_cache_entryinfo_unlock
(
ei
);
if
(
free
)
{
e
->
e_private
=
NULL
;
bdb_entry_return
(
e
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment