svn commit: samba r19773 - in branches/SAMBA_3_0/source/auth: .
vlendec at samba.org
vlendec at samba.org
Sat Nov 18 17:05:50 GMT 2006
Author: vlendec
Date: 2006-11-18 17:05:50 +0000 (Sat, 18 Nov 2006)
New Revision: 19773
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19773
Log:
TALLOC_FREE checks for NULL itself
Modified:
branches/SAMBA_3_0/source/auth/auth_util.c
Changeset:
Modified: branches/SAMBA_3_0/source/auth/auth_util.c
===================================================================
--- branches/SAMBA_3_0/source/auth/auth_util.c 2006-11-18 16:49:17 UTC (rev 19772)
+++ branches/SAMBA_3_0/source/auth/auth_util.c 2006-11-18 17:05:50 UTC (rev 19773)
@@ -515,10 +515,7 @@
static int server_info_dtor(auth_serversupplied_info *server_info)
{
- if (server_info->sam_account != NULL) {
- TALLOC_FREE(server_info->sam_account);
- }
-
+ TALLOC_FREE(server_info->sam_account);
ZERO_STRUCTP(server_info);
return 0;
}
More information about the samba-cvs
mailing list