From 9fad5ad42619093828e9c472550077f963269ebc Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 23 Sep 2026 10:40:07 -0500 Subject: [PATCH] Memory safety fix --- src/xmpp/adhoc_session.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xmpp/adhoc_session.hpp b/src/xmpp/adhoc_session.hpp index 0de8d13..f295253 100644 --- a/src/xmpp/adhoc_session.hpp +++ b/src/xmpp/adhoc_session.hpp @@ -66,11 +66,11 @@ private: * the first step of a command. Only that JID must be allowed to access * this session. */ - const std::string& owner_jid; + const std::string owner_jid; /** * The 'to' attribute in the request stanza. This is the target of the current session. */ - const std::string& to_jid; + const std::string to_jid; /** * The current step we are at. It starts at zero. It is used to index the * associated AdhocCommand::callbacks vector.