test: don't leak the custom udev rule path for devices with custom creates

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-07-27 10:54:36 +10:00
parent b4f27c43d9
commit ed1aee6061

View file

@ -1049,6 +1049,7 @@ litest_create(enum litest_device_type which,
litest_abort_msg("Custom create cannot be overridden");
}
d->udev_rule_file = udev_file;
return d;
}