mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
esp_http_client: Fix some memory leak issues by coverity static analyzer.
This commit is contained in:
@ -97,6 +97,7 @@ static esp_err_t http_header_new_item(http_header_handle_t header, const char *k
|
||||
_header_new_item_exit:
|
||||
free(item->key);
|
||||
free(item->value);
|
||||
free(item);
|
||||
return ESP_ERR_NO_MEM;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user