1 2 3 4 5 6 7 8 9 10
#include "image.h" Image::~Image() { if(width != 0 && height != 0) { delete[] imageData; } }