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.

Details

Summary

Prevents ui_but_free from freeing NULL. And fixes T60815.

Diff Detail

Repository
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.