Triggered some double free, I need to revisit the C to find exactly how its alloc/dealloc is