mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_http_client: Fix some memory leak issues by coverity static analyzer.
This commit is contained in:
parent
d6bf822ab8
commit
620e747355
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user