From 5a8880560d164fa2b480eae92eafeb7781bd7118 Mon Sep 17 00:00:00 2001 From: Marcus Weseloh Date: Sun, 8 Apr 2018 22:54:34 +0200 Subject: [PATCH] Remove now invalid comments about having to free presets --- src/synth/fluid_synth.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/synth/fluid_synth.c b/src/synth/fluid_synth.c index 4efffc73..e2d31358 100644 --- a/src/synth/fluid_synth.c +++ b/src/synth/fluid_synth.c @@ -2209,9 +2209,6 @@ fluid_synth_set_preset (fluid_synth_t *synth, int chan, fluid_preset_t *preset) /* Get a preset by SoundFont, bank and program numbers. * Returns preset pointer or NULL. - * - * @note The returned preset has been allocated, caller owns it and should - * free it when finished using it. */ static fluid_preset_t* fluid_synth_get_preset(fluid_synth_t* synth, unsigned int sfontnum, @@ -2241,9 +2238,6 @@ fluid_synth_get_preset(fluid_synth_t* synth, unsigned int sfontnum, /* Get a preset by SoundFont name, bank and program. * Returns preset pointer or NULL. - * - * @note The returned preset has been allocated, caller owns it and should - * free it when finished using it. */ static fluid_preset_t* fluid_synth_get_preset_by_sfont_name(fluid_synth_t* synth, const char *sfontname, @@ -2270,9 +2264,7 @@ fluid_synth_get_preset_by_sfont_name(fluid_synth_t* synth, const char *sfontname /* Find a preset by bank and program numbers. * Returns preset pointer or NULL. - * - * @note The returned preset has been allocated, caller owns it and should - * free it when finished using it. */ + */ fluid_preset_t* fluid_synth_find_preset(fluid_synth_t* synth, unsigned int banknum, unsigned int prognum)