Corrected segv if no mount put specified
Moved the close() operation to the correct release() function.