Added a memory leak to hopefully remove a crash