diff --git a/kubernetes/config/kube_config.c b/kubernetes/config/kube_config.c index 9f30b3a..17bc83e 100644 --- a/kubernetes/config/kube_config.c +++ b/kubernetes/config/kube_config.c @@ -292,7 +292,7 @@ static int kuberconfig_auth_provider(kubeconfig_property_t * current_user, kubec } current_user->token = strdup(token); - end: +end: free_authn_plugin(plugin); plugin = NULL; return rc; @@ -386,7 +386,7 @@ int load_kube_config(char **pBasePath, sslConfig_t ** pSslConfig, list_t ** pApi } } - end: +end: kubeconfig_free(kubeconfig); kubeconfig = NULL; return rc;