[#2212] CID44272:

Freed and cleared some more stuff before returning