Memory safety fix

This commit is contained in:
Stephen Paul Weber
2026-09-23 10:40:07 -05:00
parent e47b0a92e1
commit 9fad5ad426
+2 -2
View File
@@ -66,11 +66,11 @@ private:
* the first step of a command. Only that JID must be allowed to access * the first step of a command. Only that JID must be allowed to access
* this session. * 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. * 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 * The current step we are at. It starts at zero. It is used to index the
* associated AdhocCommand::callbacks vector. * associated AdhocCommand::callbacks vector.