summaryrefslogtreecommitdiffstats
path: root/lib/ldaputil/ldapauth.c
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2008-08-11 17:02:00 +0000
committerRich Megginson <rmeggins@redhat.com>2008-08-11 17:02:00 +0000
commitf38168d04718776fac0c0ab09f095837d24d4503 (patch)
tree7ee063e19a0699247d767990097024cef73547c9 /lib/ldaputil/ldapauth.c
parent6a2f78600bda933713c5bebe6954ed8c39fddc48 (diff)
downloadds-f38168d04718776fac0c0ab09f095837d24d4503.tar.gz
ds-f38168d04718776fac0c0ab09f095837d24d4503.tar.xz
ds-f38168d04718776fac0c0ab09f095837d24d4503.zip
Resolves: bug 457156
Bug Description: GER: allow GER for non-existing entries (phase 2) Reviewed by: nhosoi (Thanks!) 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
Diffstat (limited to 'lib/ldaputil/ldapauth.c')
0 files changed, 0 insertions, 0 deletions