Fixed leaks in levelloader

Seriously if there are more errors like this I'll punch past-me in the
face