Fixed compile in debug memory leak check mode.