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:
parent
602ec0f1c6
commit
2a7e22c117
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user