From d3fd4c466f5b82028caf7af1dfc5fcf67383a743 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 24 Jan 2006 19:37:44 +0000 Subject: 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) --- source4/nbt_server/wins/winsdb.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source4') 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]; -- cgit