summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-04 18:40:01 +0000
committerJeremy Allison <jra@samba.org>2002-12-04 18:40:01 +0000
commit64c967919145209a81863b425d3b66b636283c0c (patch)
treecf86baa541c0fe3b8cf114b72ce5ce17a7cc049d /source3
parent2dd0e949d0a6bf7cf67250516c7fdc91cda24ea3 (diff)
downloadsamba-64c967919145209a81863b425d3b66b636283c0c.tar.gz
samba-64c967919145209a81863b425d3b66b636283c0c.tar.bz2
samba-64c967919145209a81863b425d3b66b636283c0c.zip
Doing janitorial duty for tpot - memory leak fix.
Jeremy. (This used to be commit c6da50def80e64226c7e5b310dce30d0490512cb)
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 c781e98365..7aaa7d5908 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -1314,6 +1314,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 */