summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/namequery.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index e6fe88f203..98d9661567 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -1316,6 +1316,8 @@ BOOL get_dc_list(const char *domain, struct in_addr **ip_list, int *count, int *
}
+ SAFE_FREE(auto_ip_list);
+
/* need to remove duplicates in the list if we have
any explicit password servers */