Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
90ab85a7
Commit
90ab85a7
authored
Nov 18, 2009
by
Quanah Gibson-Mount
Browse files
ITS#6376
parent
d9e9a8d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
90ab85a7
...
...
@@ -28,6 +28,7 @@ OpenLDAP 2.4.20 Engineering
Fixed slapo-pcache entry dupe (ITS#6310)
Fixed slapo-syncprov checkpoint conversion (ITS#6370)
Fixed slapo-syncprov deadlock (ITS#6335)
Fixed slapo-syncprov memory leak (ITS#6376)
Fixed slapo-syncprov out of order changes (ITS#6346)
Build Environment
Fixed memrchr define (ITS#6351)
...
...
servers/slapd/overlays/syncprov.c
View file @
90ab85a7
...
...
@@ -855,7 +855,14 @@ syncprov_sendresp( Operation *op, opcookie *opc, syncops *so,
}
/* In case someone else freed it already? */
if
(
rs
.
sr_ctrls
)
{
op
->
o_tmpfree
(
rs
.
sr_ctrls
[
0
],
op
->
o_tmpmemctx
);
int
i
;
for
(
i
=
0
;
rs
.
sr_ctrls
[
i
];
i
++
)
{
if
(
rs
.
sr_ctrls
[
i
]
==
ctrls
[
0
]
)
{
op
->
o_tmpfree
(
ctrls
[
0
]
->
ldctl_value
.
bv_val
,
op
->
o_tmpmemctx
);
ctrls
[
0
]
->
ldctl_value
.
bv_val
=
NULL
;
break
;
}
}
rs
.
sr_ctrls
=
NULL
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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