Memory leaks with static linked CRT fixed for VS2012/2013.

Called allocation function added to printed callstack.