| 4059 | } |
| 4060 | |
| 4061 | static void FreeMusic( MusicInfo_t *pMusicInfo ) |
| 4062 | { |
| 4063 | if (pMusicInfo->pLoadedData) |
| 4064 | { |
| 4065 | Z_Free(pMusicInfo->pLoadedData); |
| 4066 | pMusicInfo->pLoadedData = NULL; // these two MUST be kept as valid/invalid together |
| 4067 | pMusicInfo->sLoadedDataName[0]= '\0'; // |
| 4068 | pMusicInfo->iLoadedDataLen = 0; |
| 4069 | } |
| 4070 | } |
| 4071 | |
| 4072 | // called only by snd_shutdown (from snd_restart or app exit) |
| 4073 | // |
no test coverage detected