summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-04 18:39:50 +0000
committerJeremy Allison <jra@samba.org>2002-12-04 18:39:50 +0000
commit0694e965fbf75184a78ba8745b19b569e1ffe918 (patch)
tree104f91e51a59cb063ffca743b15716cb1e96e174
parentdae62a3d2ed67998a77ec0ffe4f1540bdcc4fe40 (diff)
downloadsamba-0694e965fbf75184a78ba8745b19b569e1ffe918.tar.gz
samba-0694e965fbf75184a78ba8745b19b569e1ffe918.tar.bz2
samba-0694e965fbf75184a78ba8745b19b569e1ffe918.zip
Doing janitorial duty for tpot - memory leak fix.
Jeremy. (This used to be commit 7acf9594210f024e8d0c34259fcc990c6c76c838)
-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 */