[Fedora-directory-devel] Please review: Bug 457156 - GER: allow GER for non-existing entries (phase 2)

Rich Megginson rmeggins at redhat.com
Fri Aug 8 23:39:20 UTC 2008

Resolves: bug 457156
Bug Description: GER: allow GER for non-existing entries (phase 2)
Reviewed by: ???
Files: see diff
Branch: HEAD
Fix Description: There are a couple of memory leaks in the code.  
acleffectiverights.c line 617 calls slapi_attr_get_valueset to get the 
list of objectclass values in objclassvals - this function allocates 
memory (returns a dup of the list) but this is not freed.  The fix is to 
call slapi_valueset_free() to free it.  The allattrs and opattrs arrays 
are not freed in all conditions.  The fix is to make sure they are freed 
in all conditions.
Platforms tested: RHEL5, Fedora 8
Flag Day: no
Doc impact: no

More information about the 389-devel mailing list