BSVogler/Raytracer

Free memory garbage

Closed this issue · 2 comments

Objects are created by using "new" but never deleted.

I added a manual deletion of every object in a map

Possible solution: use smart pointers