Commit graph

1 commit

Author SHA1 Message Date
Zaggy1024
d5bf929699 AK+Tests: Destroy moved-from CallableWrappers
We won't attempt to destroy this wrapper later because m_kind gets set
to NullPointer. If any fields of the CallableType are not movable, this
results in a leak.

A test replicating the issue before the fix is added to a new
TestFunction.cpp file.
2026-02-18 13:13:32 -06:00