Fix a few memory leaks

Just some easy ones, I'm sure there are probably more.

-[Unknown]