We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fbf2e1 commit 02c9e9fCopy full SHA for 02c9e9f
1 file changed
src/flb_config.c
@@ -330,6 +330,15 @@ struct flb_config *flb_config_init()
330
if (config->kernel) {
331
flb_kernel_destroy(config->kernel);
332
}
333
+#ifdef FLB_HAVE_HTTP_SERVER
334
+ if (config->http_listen) {
335
+ flb_free(config->http_listen);
336
+ }
337
+
338
+ if (config->http_port) {
339
+ flb_free(config->http_port);
340
341
+#endif
342
flb_cf_destroy(cf);
343
flb_free(config);
344
return NULL;
0 commit comments