Looking at the original source, I assume the leak was not freeing `response` at all for the `else` branch (unlike line 1335), correct? And you just added a bit of logic to extract an error message from the response if one exists?