out_splunk: remove allocation http_user/http_passwd
They are allocated by configmap.
We don't take care at plugin side.
@@ -86,19 +86,6 @@ struct flb_splunk *flb_splunk_conf_create(struct flb_output_instance *ins,
}
}
- /* HTTP Auth */
- tmp = flb_output_get_property("http_user", ins);
- if (tmp) {
- ctx->http_user = flb_strdup(tmp);
- tmp = flb_output_get_property("http_passwd", ins);
- if (tmp) {
- ctx->http_passwd = flb_strdup(tmp);
- }
- else {
- ctx->http_passwd = flb_strdup("");
- }
- }
-
/* No http_user is set, fallback to splunk_token, if splunk_token is unset, fail. */
if(!ctx->http_user) {
/* Splunk Auth Token */
