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
Nadezhda Ivanova
OpenLDAP
Commits
e0adc1aa
Commit
e0adc1aa
authored
Dec 04, 2010
by
Hallvard Furuseth
Browse files
Fix rev 1.270: free def_urlpre correctly. Also free urlpre.
parent
a55d3331
Changes
1
Hide whitespace changes
Inline
Side-by-side
clients/tools/ldapsearch.c
View file @
e0adc1aa
...
...
@@ -1350,8 +1350,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
)
{
...
...
@@ -1906,4 +1908,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