delete xx; Local variable 'xx' may point to deallocated memory

delete xx;
Local variable 'xx' may point to deallocated memory

Allocating and deallocating memory in the heap http://www.cs.ecu.edu/karl/3300/spr14/Notes/C/Memory/heap.html

原文地址:https://www.cnblogs.com/rsapaper/p/14685254.html