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

 

posted @ 2021-04-21 14:59  papering  阅读(696)  评论(0编辑  收藏  举报