Common Error in C++
Forgetting to allocate a heap-resident value, and using a pointer as if it were referencing a legitimate value.
Forgetting to hand unused memory back to the heap manager.
Attempting to use memory values after they have been handed back to the heap manager.
Invoking the delete statement on the same value more than once, thereby passing the same memory value back to the heap manager.