HEAP CORRUPTION DETECTED: after Normal block (#128) at 0x006A5618.
CRT detected that the application wrote to memory after end of heap buffer.
fix the n--; (remove line)
reason:
HEAP CORRUPTION DETECTED: after Normal block (#128) at 0x006A5618.
CRT detected that the application wrote to memory after end of heap buffer.