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:
parent
b3d2512ed4
commit
dbcb190aa0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user