svn commit: samba r13117 - in
branches/SAMBA_4_0/source/nbt_server/wins: .
metze at samba.org
metze at samba.org
Tue Jan 24 19:37:44 GMT 2006
Author: metze
Date: 2006-01-24 19:37:44 +0000 (Tue, 24 Jan 2006)
New Revision: 13117
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13117
Log:
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
Modified:
branches/SAMBA_4_0/source/nbt_server/wins/winsdb.c
Changeset:
Modified: branches/SAMBA_4_0/source/nbt_server/wins/winsdb.c
===================================================================
--- branches/SAMBA_4_0/source/nbt_server/wins/winsdb.c 2006-01-24 19:14:08 UTC (rev 13116)
+++ branches/SAMBA_4_0/source/nbt_server/wins/winsdb.c 2006-01-24 19:37:44 UTC (rev 13117)
@@ -520,7 +520,6 @@
break;
}
}
- if (addresses[i]) talloc_free(addresses[i]);
for (; addresses[i]; i++) {
addresses[i] = addresses[i+1];
More information about the samba-cvs
mailing list