Sometimes C++ is pretty spicy :x

Simple mistake.
Two mistakes actually.
Tried to delete the image, which was out of scope, but also allocated on
the stack...
lol