Remove some free-ing code previously missed, which was causing a crash