Mercurial > mm7
diff UI/UICharacter.cpp @ 1462:f682c853200d
m
author | Ritor1 |
---|---|
date | Sun, 11 Aug 2013 12:09:09 +0600 |
parents | 8b4f4c723edd |
children | b330df6a2183 |
line wrap: on
line diff
--- a/UI/UICharacter.cpp Tue Aug 06 01:05:56 2013 +0600 +++ b/UI/UICharacter.cpp Sun Aug 11 12:09:09 2013 +0600 @@ -3136,12 +3136,12 @@ dword_507CC0_activ_ch = 0; for ( i = pGUIWindow_CurrentMenu->pControlsHead; i; i = j ) { - j=i->pNext; - if ( BYTE1(i->field_1C) & 0x80 ) - { + j = i->pNext; + if ( BYTE1(i->field_1C) & 0x80 ) + { i->Release(); - pAllocator->FreeChunk(i); - } + pAllocator->FreeChunk(i); + } } for ( j = pGUIWindow_CurrentMenu->pControlsHead; j; j = j->pNext ) {