Mixer: Add back var_cleanup in I_LoadSong
Because musicplus-libopenmpt deleted it, I added a cautionary note to ALWAYS clean up your vars!
This commit is contained in:
1 parent
0cfe0824b6
commit
00bbb60e69
1 file changed
+1
@@ -885,6 +885,7 @@ boolean I_LoadSong(char *data, size_t len)
|
||||
)
|
||||
I_UnloadSong();
|
||||
|
||||
// always do this whether or not a music already exists
|
||||
var_cleanup();
|
||||
|
||||
#ifdef HAVE_LIBGME
|
||||
|
||||
Reference in new issue
Block a user