diff --git a/topology/pre-processor.c b/topology/pre-processor.c index e4483b4..581365e 100644 --- a/topology/pre-processor.c +++ b/topology/pre-processor.c @@ -167,7 +167,7 @@ static int pre_process_config(struct tplg_pre_processor *tplg_pp, snd_config_t * return 0; } -void free_pre_preprocessor(struct tplg_pre_processor *tplg_pp) +void free_pre_processor(struct tplg_pre_processor *tplg_pp) { snd_output_close(tplg_pp->output); snd_output_close(tplg_pp->dbg_output); diff --git a/topology/topology.c b/topology/topology.c index b766927..8d65768 100644 --- a/topology/topology.c +++ b/topology/topology.c @@ -281,7 +281,7 @@ static int pre_process_run(struct tplg_pre_processor **tplg_pp, free(inc_path); if (err < 0) - free_pre_preprocessor(*tplg_pp); + free_pre_processor(*tplg_pp); free(config); return err; } @@ -299,7 +299,7 @@ static int pre_process_conf(const char *source_file, const char *output_file, return err; /* free pre-processor */ - free_pre_preprocessor(tplg_pp); + free_pre_processor(tplg_pp); return err; } @@ -332,7 +332,7 @@ static int compile(const char *source_file, const char *output_file, int cflags, err = load_topology(&tplg, pconfig, size, cflags); /* free pre-processor */ - free_pre_preprocessor(tplg_pp); + free_pre_processor(tplg_pp); } else { err = load_topology(&tplg, config, config_size, cflags); } diff --git a/topology/topology.h b/topology/topology.h index e200825..3a09c20 100644 --- a/topology/topology.h +++ b/topology/topology.h @@ -35,5 +35,5 @@ int pre_process(struct tplg_pre_processor *tplg_pp, char *config, size_t config_ const char *pre_processor_defs, const char *inc_path); int init_pre_processor(struct tplg_pre_processor **tplg_pp, snd_output_type_t type, const char *output_file); -void free_pre_preprocessor(struct tplg_pre_processor *tplg_pp); +void free_pre_processor(struct tplg_pre_processor *tplg_pp); #endif