adamwill / 389-ds-base

Forked from 389-ds-base 4 years ago
Clone

463d6b7 Ticket 50709: Several memory leaks reported by Valgrind for 389-ds 1.3.9.1-10

Authored and Committed by tbordaz 4 years ago
    Ticket 50709: Several memory leaks reported by Valgrind for 389-ds 1.3.9.1-10
    
    Description of the problem:
    
    	When evaluating an ACI with 'ip' subject, it adds a PRNetAddr to the subject
    	property list. When the list is free (acl__done_aclpb) the property is not freed.
    
    Description of the fix:
    
    	Add the property to the pblock (SLAPI_CONN_CLIENTNETADDR_ACLIP) so that it
    	the property is freed with acl pblock.
    
    https://pagure.io/389-ds-base/issue/50709
    
    Reviewed by: Mark Reynolds, William Brown, Ludwig Krispenz
    
        
file modified
+16 -0
file modified
+1 -0