pcrextend: fix memory leak
Follow-up for: #40648 Addresses: https://github.com/systemd/systemd/pull/40648#issuecomment-3917469644
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
e30c044c23
commit
0b7d5a2844
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user