Fix leaking memory cards.

This should actually be a call to `reset`. `release` won't internally call the destructor. It returns the pointer to the object within the `unique_ptr`. This is where the leak occurs.