activex: Fix heap corrumption on Async event delivery
The heap corruption occured when events returned a value. Since the events cross COM boundaries, the values returned should be allocated in COM context too. Allocating the memory with CoMemTaskAlloc() should be used instead of new or malloc().
Showing
Please register or sign in to comment