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
Tero Saarni
OpenLDAP
Commits
d045e234
Commit
d045e234
authored
Jan 04, 2011
by
Quanah Gibson-Mount
Browse files
Fix rev 1.270: free def_urlpre correctly. Also free urlpre.
parent
f6622d70
Changes
1
Hide whitespace changes
Inline
Side-by-side
clients/tools/ldapsearch.c
View file @
d045e234
...
...
@@ -1341,8 +1341,10 @@ getNextPage:
if
(
derefval
.
bv_val
!=
NULL
)
{
ldap_memfree
(
derefval
.
bv_val
);
}
if
(
def_urlpre
!=
NULL
)
{
ber_memfree
(
def_urlpre
);
if
(
urlpre
!=
NULL
)
{
if
(
def_urlpre
!=
urlpre
)
free
(
def_urlpre
);
free
(
urlpre
);
}
if
(
c
)
{
...
...
@@ -1897,4 +1899,3 @@ static int print_result(
return
err
;
}
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