projects
/
openldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c46f241
)
[PATCH 2/2] ITS#9409 saslauthz: use ch_free on normalized DN
author
Howard Chu
<hyc@openldap.org>
Mon, 30 Nov 2020 11:45:46 +0000
(11:45 +0000)
committer
Ryan Tandy
<ryan@nardis.ca>
Sun, 14 Feb 2021 18:32:34 +0000
(18:32 +0000)
Gbp-Pq: Name ITS-9409-saslauthz-use-ch_free-on-normalized-DN.patch
servers/slapd/saslauthz.c
patch
|
blob
|
history
diff --git
a/servers/slapd/saslauthz.c
b/servers/slapd/saslauthz.c
index fb0c7d60417261e3b22ec7bdbe72a10bb76cb87e..692c8bf18f9663db090cb60e93fdd461f18963ee 100644
(file)
--- a/
servers/slapd/saslauthz.c
+++ b/
servers/slapd/saslauthz.c
@@
-860,7
+860,7
@@
done:
if ( lud_dn ) {
if ( ludp->lud_dn != lud_dn ) {
-
ber_mem
free( ludp->lud_dn );
+
ch_
free( ludp->lud_dn );
}
ludp->lud_dn = lud_dn;
}