Xnamespace: fix wrong const char* authProto

The authProto field always is assigned to dynamically allocated buffer
(strdup()'ed) and needs to be freed sometimes, so cannot be const.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-08-05 14:13:14 +02:00
parent 6574903366
commit ffc80b227a

View File

@@ -12,7 +12,7 @@
struct auth_token {
struct xorg_list entry;
const char *authProto;
char *authProto;
char *authTokenData;
size_t authTokenLen;
XID authId;