summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-24 19:37:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:27 -0500
commitd3fd4c466f5b82028caf7af1dfc5fcf67383a743 (patch)
treed0a33693b6b36e6f3f1fb7b35043f7a997ea6172 /source4
parent8311b9e9e706cfb98136f3bd096eaf2152a71db9 (diff)
downloadsamba-d3fd4c466f5b82028caf7af1dfc5fcf67383a743.tar.gz
samba-d3fd4c466f5b82028caf7af1dfc5fcf67383a743.tar.bz2
samba-d3fd4c466f5b82028caf7af1dfc5fcf67383a743.zip
r13117: the caller may reference the winsdb_addr struct,
and as a winsdb_record has a short lifetime, it's no problem to not free unused addresses directly metze (This used to be commit 2a7e22c1171475976d26c6f23ab9c6a19703e718)
Diffstat (limited to 'source4')
-rw-r--r--source4/nbt_server/wins/winsdb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/nbt_server/wins/winsdb.c b/source4/nbt_server/wins/winsdb.c
index f294705e55..60c2ab0e4f 100644
--- a/source4/nbt_server/wins/winsdb.c
+++ b/source4/nbt_server/wins/winsdb.c
@@ -520,7 +520,6 @@ void winsdb_addr_list_remove(struct winsdb_addr **addresses, const char *address
break;
}
}
- if (addresses[i]) talloc_free(addresses[i]);
for (; addresses[i]; i++) {
addresses[i] = addresses[i+1];