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
11320a91
Commit
11320a91
authored
Jan 17, 2017
by
Howard Chu
Committed by
Quanah Gibson-Mount
Dec 20, 2018
Browse files
ITS#8727 plug ber leaks
parent
04496d5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/request.c
View file @
11320a91
...
...
@@ -315,6 +315,7 @@ ldap_send_server_request(
LDAP_MUTEX_UNLOCK
(
&
ld
->
ld_options
.
ldo_mutex
);
if
(
rc
==
-
1
)
{
ld
->
ld_errno
=
LDAP_ENCODING_ERROR
;
ber_free
(
ber
,
1
);
LDAP_CONN_UNLOCK_IF
(
m_noconn
);
return
rc
;
}
...
...
@@ -334,6 +335,7 @@ ldap_send_server_request(
rc
=
-
1
;
}
if
(
rc
)
{
ber_free
(
ber
,
1
);
LDAP_CONN_UNLOCK_IF
(
m_noconn
);
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