File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,11 @@ struct flb_config *flb_config_init()
345
345
mk_list_init (& config -> cmetrics );
346
346
mk_list_init (& config -> cf_parsers_list );
347
347
348
+ /* Initialize multiline-parser list. We need this here, because from now
349
+ * on we use flb_config_exit to cleanup the config, which requires
350
+ * the config->multiline_parsers list to be initialized. */
351
+ mk_list_init (& config -> multiline_parsers );
352
+
348
353
/* Task map */
349
354
ret = flb_config_task_map_resize (config , FLB_CONFIG_DEFAULT_TASK_MAP_SIZE );
350
355
@@ -354,11 +359,6 @@ struct flb_config *flb_config_init()
354
359
return NULL ;
355
360
}
356
361
357
- /* Initialize multiline-parser list. We need this here, because from now
358
- * on we use flb_config_exit to cleanup the config, which requires
359
- * the config->multiline_parsers list to be initialized. */
360
- mk_list_init (& config -> multiline_parsers );
361
-
362
362
/* Environment */
363
363
config -> env = flb_env_create ();
364
364
if (config -> env == NULL ) {
You can’t perform that action at this time.
0 commit comments