Page MenuHome

Let ui_but_free free but->search_arg.
Needs ReviewPublic

Authored by matc (matc) on Thu, Jan 24, 8:49 PM.
This revision needs review, but there are no reviewers specified.



Prevents ui_but_free from freeing NULL. And fixes T60815.

Diff Detail

rB Blender

Event Timeline

matc (matc) created this revision.Thu, Jan 24, 8:49 PM

Generous BLI_assert to prevent losing a pointer to but->search_arg that would need to be freed.