[PATCH 5.15 03/95] reset: Fix crash when freeing non-existent optional resets