Mercurial > mm7
changeset 1482:cfd99b6177a3
m
author | Ritor1 |
---|---|
date | Thu, 29 Aug 2013 12:04:33 +0600 |
parents | bfe342ae0c1f |
children | 223605b325b3 |
files | UI/UICharacter.cpp |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/UI/UICharacter.cpp Fri Aug 09 17:30:33 2013 +0600 +++ b/UI/UICharacter.cpp Thu Aug 29 12:04:33 2013 +0600 @@ -2907,12 +2907,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 ) {