From ffc80b227a67723f835001e55f90f2229d9eafc1 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 5 Aug 2025 14:13:14 +0200 Subject: [PATCH] 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 --- Xext/namespace/namespace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xext/namespace/namespace.h b/Xext/namespace/namespace.h index 36331df192..f0ce94761a 100644 --- a/Xext/namespace/namespace.h +++ b/Xext/namespace/namespace.h @@ -12,7 +12,7 @@ struct auth_token { struct xorg_list entry; - const char *authProto; + char *authProto; char *authTokenData; size_t authTokenLen; XID authId;