_Roxen.http_decode_string: dont leak on error Move the check for correct hexadecimal sequences into the first loop, which calculates the length. This prevents the string builder to leak on error. Also, the length checks for hexadecimal sequences can be removed from the second loop, as they are already done in the first.