summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ldap/servers/plugins/replication/windows_private.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldap/servers/plugins/replication/windows_private.c b/ldap/servers/plugins/replication/windows_private.c
index c1a28c93..3ffd3e87 100644
--- a/ldap/servers/plugins/replication/windows_private.c
+++ b/ldap/servers/plugins/replication/windows_private.c
@@ -136,8 +136,9 @@ windows_parse_config_entry(Repl_Agmt *ra, const char *type, Slapi_Entry *e)
{
windows_private_set_windows_domain(ra,tmpstr);
}
+ /* No need to free tmpstr because it was aliased by the call above */
+ tmpstr = NULL;
retval = 1;
- slapi_ch_free((void**)&tmpstr);
}
return retval;
}