backport fix for bug #2004. (from 2.0 branch commit bbc63f965931). SDL-1.2
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 07 Oct 2018 00:29:50 +0300
branchSDL-1.2
changeset 8746a0b7356d763
parent 873 d159f97ef3e7
child 875 f067e333302e
backport fix for bug #2004. (from 2.0 branch commit bbc63f965931).
mixer.c
     1.1 --- a/mixer.c	Sun Oct 07 00:21:02 2018 +0300
     1.2 +++ b/mixer.c	Sun Oct 07 00:29:50 2018 +0300
     1.3 @@ -228,6 +228,7 @@
     1.4  #ifdef MID_MUSIC
     1.5  	if (soundfont_paths) {
     1.6  		SDL_free(soundfont_paths);
     1.7 +		soundfont_paths=NULL;
     1.8  	}
     1.9  #endif
    1.10  	initialized = 0;