Fix: Crash in interface layout when using custom nodes #122115

Merged
Jeroen Bakker merged 1 commits from Jeroen-Bakker/blender:interface/crash-custom-nodes into main 2024-05-23 08:23:04 +02:00

View File

@ -6039,7 +6039,7 @@ void uiLayoutSetTooltipFunc(uiLayout *layout,
}
}
if (!arg_used) {
if (free_arg != nullptr && !arg_used) {
/* Free the original copy of arg in case the layout is empty. */
free_arg(arg);
}