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 with 47 additions and 22 deletions