Comment Comment by atomicnumber3 Forgive me, I'm a Java programmer.The glaring bug here is that ptr is - or rather the object being pointed to is - on the heap and allocated in the constructor, but the deconstructor doesn't free it? parent atomicnumber3 1 year ago
The glaring bug here is that ptr is - or rather the object being pointed to is - on the heap and allocated in the constructor, but the deconstructor doesn't free it?