Spent entirely too much time trying to figure out how some stuff valgrind was reporting was at all possible. After failing to sort that out I did a clean build and the problems went away. Ugh.
Note to self: try the clean build sooner.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!