Free things that were allocated by mock.