Notes |
|
(0005514)
|
SXX
|
2015-02-15 17:23
|
|
I already investigated this one from my personal interest. According to Massif biggest leak everywhere is inside CButton::leftClick that lead to SoundHandler::GetSoundChunk, but it's not problem with "chunk" as far as I remember. E.g it's something wrong within CSoundHandler::GetSoundChunk or even in SDL2 (though I doubt it). |
|
|
(0005515)
|
SXX
|
2015-02-15 17:48
|
|
Oh, feel myself a dumb. Previous time when I tried to fix it I'd edited wrong "CSoundHandler::playSound" function. Basically we just need to use "Mix_FreeChunk" in both of them (when chunk playback finished of course). |
|
|
(0005516)
|
SXX
|
2015-02-15 18:11
|
|
Though once I fixed this massif start crashing for me. :-)
So can only make sure it's fixed by testing.
Though I'll make some more code cleanup here and then likely sent pull request for review. |
|
|
(0005517)
|
SXX
|
2015-02-15 20:03
|
|
|
|
(0005518)
|
SXX
|
2015-02-15 22:08
|
|
|