SharpCoder / rpi-kernel

A Basic (non Linux) C++ Kernel for Raspberry Pi.
MIT License
95 stars 25 forks source link

Memory Leak #4

Open AustinMooreT opened 8 years ago

AustinMooreT commented 8 years ago

In the Push method inside the stack class you create a new dynamic iterator object, and never delete it. This causes a memory leak because that object just sits in the heap.