L3Harris Interview Question

How would you fix this issue (memory leak in c++)

Interview Answer

Anonymous

May 10, 2021

Memory leak had to be coming from somewhere in the constructor/destructor of the object, so I narrowed it down from there (this was their bonus question, not the average question)

1