mixer.c
changeset 801 46acd70caa6a
parent 800 cc4aef7fef64
child 817 aef7a1784ffd
     1.1 --- a/mixer.c	Sat Oct 21 01:32:12 2017 -0700
     1.2 +++ b/mixer.c	Sat Oct 21 02:10:33 2017 -0700
     1.3 @@ -140,12 +140,6 @@
     1.4  {
     1.5      int result = 0;
     1.6  
     1.7 -#ifdef MIX_INIT_SOUNDFONT_PATHS
     1.8 -    if (!soundfont_paths) {
     1.9 -        soundfont_paths = SDL_strdup(MIX_INIT_SOUNDFONT_PATHS);
    1.10 -    }
    1.11 -#endif
    1.12 -
    1.13      load_music();
    1.14  
    1.15      if (flags & MIX_INIT_FLAC) {
    1.16 @@ -189,11 +183,6 @@
    1.17  void Mix_Quit()
    1.18  {
    1.19      unload_music();
    1.20 -
    1.21 -    if (soundfont_paths) {
    1.22 -        SDL_free(soundfont_paths);
    1.23 -        soundfont_paths = NULL;
    1.24 -    }
    1.25  }
    1.26  
    1.27  static int _Mix_remove_all_effects(int channel, effect_info **e);