topology: rename function free_pre_preprocessor to free_pre_processor

Line up this name with others.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2022-01-27 15:01:50 +01:00
parent 3c665532e0
commit 5a7ffd5171
3 changed files with 5 additions and 5 deletions

View file

@ -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);

View file

@ -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);
}

View file

@ -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