From f583f47049b783906f49047cbf704c3dbb670fa4 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Thu, 6 Aug 2026 11:40:41 +0200 Subject: [PATCH] translate(): remove mutex lock before tcl_hook2(result) execution (may call translate() in DCOP annotators) --- src/token.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/token.c b/src/token.c index 24b1a28c..a5f7facb 100644 --- a/src/token.c +++ b/src/token.c @@ -5313,6 +5313,7 @@ const char *translate(int inst, const char *s) * can be calculated */ + mutex--; my_strdup2(_ALLOC_ID_, &result, tcl_hook2(result)); my_strdup2(_ALLOC_ID_, &result, spice_get_node(result)); @@ -5322,7 +5323,6 @@ const char *translate(int inst, const char *s) translate3(result, 1, xctx->inst[inst].prop_ptr, xctx->sym[xctx->inst[inst].ptr].templ, NULL, NULL))); } - mutex--; return result; }