translate(): remove mutex lock before tcl_hook2(result) execution (may call translate() in DCOP annotators)

This commit is contained in:
stefan schippers 2026-08-06 11:40:41 +02:00
parent ff2f4824c1
commit f583f47049
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}