summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Boreham <dboreham@redhat.com>2005-05-16 22:26:25 +0000
committerDavid Boreham <dboreham@redhat.com>2005-05-16 22:26:25 +0000
commit499758194052323a2b97f15665312aca98f5dcdc (patch)
tree279784ec654339afdc25c8161a0467552a3ec01e
parent5b4e7f84bfe5658210be38a7560323fb9c1870ed (diff)
downloadds-499758194052323a2b97f15665312aca98f5dcdc.tar.gz
ds-499758194052323a2b97f15665312aca98f5dcdc.tar.xz
ds-499758194052323a2b97f15665312aca98f5dcdc.zip
Fix for #157901 : FMR in windows sync agreement code
-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;
}