Fixed potential memory leak when failing to resume a session
2 files changed