1
0
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:
Susant Sahani 2021-01-20 13:54:59 +01:00
parent e8480482ca
commit 639deab187

View File

@ -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;