[PATCH v2 6/9] remote: doRemoteOpen: Automatically clean up 'priv'