Was freeing the incorrect pointers -> crash in mallocs/frees.

1 file changed