diff options
| author | David Boreham <dboreham@redhat.com> | 2005-04-25 20:38:29 +0000 |
|---|---|---|
| committer | David Boreham <dboreham@redhat.com> | 2005-04-25 20:38:29 +0000 |
| commit | de5d40a2848722ab888edff2ec97d8dfe5478131 (patch) | |
| tree | 058b0ef5aed4103b5dc08f3e994f40a94a6107b1 | |
| parent | 940a0e93ac1bf175a42c34c5b6094aeac9a5af20 (diff) | |
| download | ds-de5d40a2848722ab888edff2ec97d8dfe5478131.tar.gz ds-de5d40a2848722ab888edff2ec97d8dfe5478131.tar.xz ds-de5d40a2848722ab888edff2ec97d8dfe5478131.zip | |
Fix for 155141: bug in linked list code
| -rw-r--r-- | ldap/servers/slapd/sasl_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/servers/slapd/sasl_map.c b/ldap/servers/slapd/sasl_map.c index c1f6065c..1e74eff9 100644 --- a/ldap/servers/slapd/sasl_map.c +++ b/ldap/servers/slapd/sasl_map.c @@ -146,8 +146,8 @@ sasl_map_remove_list_entry(sasl_map_private *priv, char *removeme) /* Unlink it */ previous->next = current->next; } else { - /* That was the only entry, and now there are none */ - priv->map_data_list = NULL; + /* That was the first list entry */ + priv->map_data_list = current->next; } /* Payload free */ sasl_map_free_data(¤t); |
