pcrextend: fix memory leak

Follow-up for: #40648
Addresses: https://github.com/systemd/systemd/pull/40648#issuecomment-3917469644
This commit is contained in:
Lennart Poettering
2026-02-18 18:25:08 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent e30c044c23
commit 0b7d5a2844
+1 -1
View File
@@ -260,7 +260,7 @@ int pcrextend_verity_now(
if (r < 0)
return r;
_cleanup_free_ sd_varlink *vl = NULL;
_cleanup_(sd_varlink_unrefp) sd_varlink *vl = NULL;
r = sd_varlink_connect_address(&vl, "/run/systemd/io.systemd.PCRExtend");
if (r < 0)
return r;