Merge pull request #3578 from bubaflub/fix_small_memory_leak Free allocated pointer to curl stream on error