diff options
-rw-r--r-- | daemons/ipa-slapi-plugins/topology/topology_cfg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemons/ipa-slapi-plugins/topology/topology_cfg.c b/daemons/ipa-slapi-plugins/topology/topology_cfg.c index 23b8eddfb..a99a2d062 100644 --- a/daemons/ipa-slapi-plugins/topology/topology_cfg.c +++ b/daemons/ipa-slapi-plugins/topology/topology_cfg.c @@ -528,6 +528,7 @@ ipa_topo_cfg_host_del(Slapi_Entry *hostentry) slapi_lock_mutex(replica->repl_lock); hostnode = replica->hosts; + prevnode = NULL; while (hostnode) { if (!strcasecmp(hostnode->hostname,delhost)) { /*remove from list and free*/ |