Fix: Crash in interface layout when using custom nodes #122115
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user