1 autofs-5.0.4 - fix memory leak reading ldap master map
3 From: Ian Kent <raven@themaw.net>
5 When reading the master map the storage allocated by getting the location
6 value is not freed after use.
10 modules/lookup_ldap.c | 2 ++
11 2 files changed, 3 insertions(+), 0 deletions(-)
14 diff --git a/CHANGELOG b/CHANGELOG
15 index 2be7683..a143294 100644
19 - fix call restorecon when misc device file doesn't exist.
20 - clear rpc client on lookup fail.
21 - fix lsb init script header.
22 +- fix memory leak reading master map.
24 4/11/2008 autofs-5.0.4
25 -----------------------
26 diff --git a/modules/lookup_ldap.c b/modules/lookup_ldap.c
27 index 5a54b5f..9b1180c 100644
28 --- a/modules/lookup_ldap.c
29 +++ b/modules/lookup_ldap.c
30 @@ -1563,6 +1563,8 @@ int lookup_read_master(struct master *master, time_t age, void *context)
31 ldap_value_free(values);
34 + ldap_value_free(values);
36 master_parse_entry(parse_buf, timeout, logging, age);
38 ldap_value_free(keyValue);