r13117: the caller may reference the winsdb_addr struct,
[samba.git] / source4 / nbt_server / wins / winsdb.c
index f294705e55d5c6bdb312958d56d8c52917a63f6f..60c2ab0e4fed2d8b273770867df049cbdce05e36 100644 (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];