1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

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

Andrew Bartlett
(This used to be commit 73fba185eba6b059d34790c95a30d49b296759f5)
This commit is contained in:
Andrew Bartlett 2006-09-08 05:45:23 +00:00 committed by Gerald (Jerry) Carter
parent 5622eb1dee
commit 40cf47fa56

View File

@ -1246,9 +1246,6 @@ const struct gensec_critical_sizes *gensec_interface_version(void)
}
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;
}