1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

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 commit is contained in:
Stefan Metzmacher 2006-01-24 19:37:44 +00:00 committed by Gerald (Jerry) Carter
parent 602ec0f1c6
commit 2a7e22c117

View File

@ -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];