mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
udev: Use TAKE_PTR
This commit is contained in:
parent
f5b73a7fa8
commit
3c29137626
@ -1984,7 +1984,9 @@ static int udev_rule_apply_token_to_event(
|
||||
return log_rule_error_errno(dev, rules, r, "Failed to store SECLABEL{%s}='%s': %m", name, label);;
|
||||
|
||||
log_rule_debug(dev, rules, "SECLABEL{%s}='%s'", name, label);
|
||||
name = label = NULL;
|
||||
|
||||
TAKE_PTR(name);
|
||||
TAKE_PTR(label);
|
||||
break;
|
||||
}
|
||||
case TK_A_ENV: {
|
||||
|
Loading…
Reference in New Issue
Block a user