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
openldap
OpenLDAP
Commits
f1b88080
Commit
f1b88080
authored
Aug 19, 2003
by
Howard Chu
Browse files
Fix tmpmemctx conflicts
parent
9b0de44b
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/attr.c
View file @
f1b88080
...
...
@@ -167,7 +167,7 @@ attr_merge_normalize(
for
(
i
=
0
;
vals
[
i
].
bv_val
;
i
++
);
nvals
=
ch
_calloc
(
sizeof
(
struct
berval
),
i
+
1
);
nvals
=
sl
_calloc
(
sizeof
(
struct
berval
),
i
+
1
,
memctx
);
for
(
i
=
0
;
vals
[
i
].
bv_val
;
i
++
)
{
rc
=
(
*
desc
->
ad_type
->
sat_equality
->
smr_normalize
)(
0
,
...
...
@@ -187,7 +187,7 @@ attr_merge_normalize(
error_return:
;
if
(
nvals
!=
NULL
)
{
ber_bvarray_free
(
nvals
);
ber_bvarray_free
_x
(
nvals
,
memctx
);
}
return
rc
;
}
...
...
@@ -252,7 +252,7 @@ attr_merge_normalize_one(
rc
=
attr_merge_one
(
e
,
desc
,
val
,
nvalp
);
if
(
nvalp
!=
NULL
)
{
ch
_free
(
nval
.
bv_val
);
sl
_free
(
nval
.
bv_val
,
memctx
);
}
return
rc
;
}
...
...
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