config: on exit, release parsers
@@ -345,6 +345,11 @@ void flb_config_exit(struct flb_config *config)
}
#endif
+#ifdef FLB_HAVE_PARSER
+ /* parsers */
+ flb_parser_exit(config);
+#endif
+
if (config->storage_path) {
flb_free(config->storage_path);
}
