pl(9524,0x100391380) malloc: *** error for object 0x100525760: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Program ended with exit code: 9
The structure looks okay to me, but apparently I'm missing something.