summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libads/ldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 4802f79d3e..d72cb4af26 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -301,6 +301,7 @@ static NTSTATUS ads_find_dc(ADS_STRUCT *ads)
goto again;
}
+ SAFE_FREE(sitename);
return status;
}