mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
4b340eb86d
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
14 lines
606 B
Diff
14 lines
606 B
Diff
--- music_fluidsynth.c.orig 2018-10-31 15:59:00.000000000 +0100
|
|
+++ music_fluidsynth.c 2021-01-20 18:29:11.610459000 +0100
|
|
@@ -273,9 +273,10 @@
|
|
static void FLUIDSYNTH_Delete(void *context)
|
|
{
|
|
FLUIDSYNTH_Music *music = (FLUIDSYNTH_Music *)context;
|
|
+ fluid_settings_t *settings = fluidsynth.fluid_synth_get_settings(music->synth);
|
|
fluidsynth.delete_fluid_player(music->player);
|
|
- fluidsynth.delete_fluid_settings(fluidsynth.fluid_synth_get_settings(music->synth));
|
|
fluidsynth.delete_fluid_synth(music->synth);
|
|
+ fluidsynth.delete_fluid_settings(settings);
|
|
SDL_free(music);
|
|
}
|
|
|