We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0aa5e81 + 2deae29 commit 09bd2dfCopy full SHA for 09bd2df
1 file changed
src/raudio.c
@@ -1767,7 +1767,7 @@ void UnloadMusicStream(Music music)
1767
else if (music.ctxType == MUSIC_AUDIO_QOA) qoaplay_close((qoaplay_desc *)music.ctxData);
1768
#endif
1769
#if defined(SUPPORT_FILEFORMAT_FLAC)
1770
- else if (music.ctxType == MUSIC_AUDIO_FLAC) drflac_free((drflac *)music.ctxData, NULL);
+ else if (music.ctxType == MUSIC_AUDIO_FLAC) { drflac_close((drflac *)music.ctxData); drflac_free((drflac *)music.ctxData, NULL); }
1771
1772
#if defined(SUPPORT_FILEFORMAT_XM)
1773
else if (music.ctxType == MUSIC_MODULE_XM) jar_xm_free_context((jar_xm_context_t *)music.ctxData);
0 commit comments