Description of problem:
Memory leak in automember plugin when automember group does not exist. Found during coverity scan.
1. 389-ds-base-22.214.171.124/ldap/servers/plugins/automember/automember.c:1631: alloc_fn: Storage is returned from allocation function "slapi_pblock_new".
2. 389-ds-base-126.96.36.199/ldap/servers/plugins/automember/automember.c:1631: var_assign: Assigning: "mod_pb" = storage returned from "slapi_pblock_new()".
6. 389-ds-base-188.8.131.52/ldap/servers/plugins/automember/automember.c:1659: leaked_storage: Variable "mod_pb" going out of scope leaks the storage it points to.
# 1657| }
# 1658| slapi_entry_free(group_entry);
# 1659|-> return rc;
# 1660| }
# 1661| slapi_entry_free(group_entry);
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.