Mercurial > mm7
changeset 1462:f682c853200d
m
author | Ritor1 |
---|---|
date | Sun, 11 Aug 2013 12:09:09 +0600 |
parents | 0c462cc807a1 |
children | b330df6a2183 |
files | UI/UICharacter.cpp |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
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 ) {