Closed yanmartins closed 1 year ago
Hi @yanmartins, thanks for your contribution. Could you please edit your commit message with a better description of the changes?
@yanmartins, on a second look while evaluating the tests for this change I realized that we don't take ownership of this data, hence this shouldn't be freed here. The lifetime should be managed by the application and not by the mqtt client.
In the
esp_mqtt_destroy_config function
, MQTT certificates are not freed.