Fix leaking memory cards.

Is there a reason you're introducing a `Shutdown` method here rather than using a destructor? We allocate in the constructor.