mirror of
https://github.com/systemd/systemd.git
synced 2025-01-25 10:04:04 +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)
|
if (r < 0)
|
||||||
return r;
|
return r;
|
||||||
|
|
||||||
s = d = NULL;
|
TAKE_PTR(s);
|
||||||
|
TAKE_PTR(d);
|
||||||
|
|
||||||
m->filter_uptodate = false;
|
m->filter_uptodate = false;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user