Get rid of HeapAlloc casts.

98 files changed