This is an automated email from the git hooks/post-receive script.
tbordaz pushed a commit to branch 389-ds-base-1.3.10
in repository 389-ds-base.
The following commit(s) were added to refs/heads/389-ds-base-1.3.10 by this push:
new f58f732 Ticket 50857 - Memory leak in ACI using IP subject
f58f732 is described below
commit f58f732b0f9c420cc96765238767f4e06dc924dd
Author: Thierry Bordaz <tbordaz(a)redhat.com>
AuthorDate: Mon Jan 27 13:49:37 2020 +0100
Ticket 50857 - Memory leak in ACI using IP subject
Bug Description:
When a ACI is evaluated (LASIpEval) a context (cookie) is allocated.
At the end of the connection, the context is freed
via a callback (LASIpFlush).
The context contains two LASIpTree_t tree (ipv4 and ipv6)
In free callback, only ipv4 tree is freed
Fix Description:
Free ipv6 tree in LASIpTree
https://pagure.io/389-ds-base/issue/50857
Reviewed by: Mark Reynolds
Platforms tested: F31
Flag Day: no
Doc impact: no
---
lib/libaccess/lasip.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/libaccess/lasip.cpp b/lib/libaccess/lasip.cpp
index 30c546d..cdb88ee 100644
--- a/lib/libaccess/lasip.cpp
+++ b/lib/libaccess/lasip.cpp
@@ -436,6 +436,7 @@ LASIpFlush(void **las_cookie)
return;
LASIpTreeDealloc(((LASIpContext_t *)*las_cookie)->treetop);
+ LASIpTreeDealloc(((LASIpContext_t *)*las_cookie)->treetop_ipv6);
PERM_FREE(*las_cookie);
*las_cookie = NULL;
return;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.