esp_http_client: Fix some memory leak issues by coverity static analyzer.
esp_http_client: Fix some memory leak issues by coverity static analyzer.

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf