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

This commit is contained in:
aditi_lonkar 2021-01-18 11:38:46 +05:30
parent d6bf822ab8
commit 620e747355

View File

@ -97,6 +97,7 @@ static esp_err_t http_header_new_item(http_header_handle_t header, const char *k
_header_new_item_exit: _header_new_item_exit:
free(item->key); free(item->key);
free(item->value); free(item->value);
free(item);
return ESP_ERR_NO_MEM; return ESP_ERR_NO_MEM;
} }