From 6b58e2e5a964805bc80145af8481729fd40fb17d Mon Sep 17 00:00:00 2001 From: Yaroslav Nikonorov Date: Tue, 20 Oct 2020 12:26:19 +0300 Subject: [PATCH] GUACAMOLE-1174: Free exec_command setting. --- src/protocols/kubernetes/settings.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/protocols/kubernetes/settings.c b/src/protocols/kubernetes/settings.c index 9de7a859..1d437bc2 100644 --- a/src/protocols/kubernetes/settings.c +++ b/src/protocols/kubernetes/settings.c @@ -417,6 +417,9 @@ void guac_kubernetes_settings_free(guac_kubernetes_settings* settings) { free(settings->kubernetes_pod); free(settings->kubernetes_container); + /* Free Kubernetes exec command */ + free(settings->exec_command); + /* Free SSL/TLS details */ free(settings->client_cert); free(settings->client_key);