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?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton