mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
esp_https_ota: Fix esp_https_ota_begin may exist memory leak
This commit is contained in:
@ -182,7 +182,7 @@ esp_err_t esp_https_ota_begin(esp_https_ota_config_t *ota_config, esp_https_ota_
|
||||
err = ota_config->http_client_init_cb(https_ota_handle->http_client);
|
||||
if (err != ESP_OK) {
|
||||
ESP_LOGE(TAG, "http_client_init_cb returned 0x%x", err);
|
||||
goto failure;
|
||||
goto http_cleanup;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user