This fixes a bug in
commit fda53ab3a536647192dd088672dcb6f4a6820e51
Author: Daniel P. Berrangé <berrange(a)redhat.com>
Date: Thu Dec 22 10:29:32 2022 -0500
remote: use VIR_LOCK_GUARD in client code
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/remote/remote_driver.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index 206a3829e2..a1e08bcfe2 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -5088,6 +5088,7 @@ remoteSecretGetValue(virSecretPtr secret, size_t *value_size,
remote_secret_get_value_args args;
remote_secret_get_value_ret ret = {0};
struct private_data *priv = secret->conn->privateData;
+ VIR_LOCK_GUARD lock = remoteDriverLock(priv);
make_nonnull_secret(&args.secret, secret);
args.flags = flags;
--
2.39.0