Alloy - LPS-47596 Fix memory leak (master)