svn commit: samba r18255 - in branches/SAMBA_4_0/source/auth/gensec: .

abartlet at samba.org abartlet at samba.org
Fri Sep 8 05:45:24 GMT 2006


Author: abartlet
Date: 2006-09-08 05:45:23 +0000 (Fri, 08 Sep 2006)
New Revision: 18255

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18255

Log:
Remove the SMB_ASSERT(), as these are not talloc()'ed structures.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/auth/gensec/gensec.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/gensec/gensec.c
===================================================================
--- branches/SAMBA_4_0/source/auth/gensec/gensec.c	2006-09-08 05:43:08 UTC (rev 18254)
+++ branches/SAMBA_4_0/source/auth/gensec/gensec.c	2006-09-08 05:45:23 UTC (rev 18255)
@@ -1246,9 +1246,6 @@
 }
 
 static int sort_gensec(struct gensec_security_ops **gs1, struct gensec_security_ops **gs2) {
-	SMB_ASSERT(talloc_get_type(*gs1, struct gensec_security_ops));
-	SMB_ASSERT(talloc_get_type(*gs2, struct gensec_security_ops));
-
 	return (*gs2)->order - (*gs1)->order;
 }
 



More information about the samba-cvs mailing list