Regarding destructors, does it work the same as a constructor whereby if you define part of it yourself then the default is ignored and only what you write is initialised?
so is there a chance of a memory leak if i say have an object containing some big arrays as well as image surfaces and then in the destructor i only explicitly free the memory for the surfaces?
or will everything be freed anyway?