mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
sd-device: Use TAKE_PTR
This commit is contained in:
parent
e8480482ca
commit
639deab187
@ -736,7 +736,9 @@ _public_ int sd_device_monitor_filter_add_match_subsystem_devtype(sd_device_moni
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
s = d = NULL;
|
||||
TAKE_PTR(s);
|
||||
TAKE_PTR(d);
|
||||
|
||||
m->filter_uptodate = false;
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user