1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r16557: Silently succeed when torture_register_suite is passed NULL.

This commit is contained in:
James Peach 2006-06-27 06:17:11 +00:00 committed by Gerald (Jerry) Carter
parent b3d2512ed4
commit dbcb190aa0

View File

@ -41,6 +41,10 @@ NTSTATUS torture_register_suite(struct torture_suite *suite)
{
struct torture_suite_list *p, *n;
if (!suite) {
return NT_STATUS_OK;
}
n = talloc(talloc_autofree_context(), struct torture_suite_list);
n->suite = suite;