Fixed memory leak, from PhracturedBlue.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@318 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -334,7 +334,7 @@ _ReleaseCelData (MEM_HANDLE handle)
|
||||
int cel_ct;
|
||||
FRAMEPTR FramePtr;
|
||||
|
||||
cel_ct = INDEX_GET (DrawablePtr->FlagsAndIndex);
|
||||
cel_ct = INDEX_GET (DrawablePtr->FlagsAndIndex) + 1;
|
||||
|
||||
FramePtr = &DrawablePtr->Frame[cel_ct];
|
||||
while (--FramePtr, cel_ct--)
|
||||
|
||||
Reference in New Issue
Block a user