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:
@@ -1,4 +1,5 @@
|
|||||||
0.2:
|
0.2:
|
||||||
|
- Fixed memory leak in _ReleaseCelData, from PhracturedBlue.
|
||||||
- Fixed mutex deadlock in 3do_blt.c, from tamlin
|
- Fixed mutex deadlock in 3do_blt.c, from tamlin
|
||||||
- 'additional credits' amount for Melnorme correct now, by Windplume.
|
- 'additional credits' amount for Melnorme correct now, by Windplume.
|
||||||
- Spheres of influence now move correctly in starmap, from l0ci@hotmail.com
|
- Spheres of influence now move correctly in starmap, from l0ci@hotmail.com
|
||||||
|
|||||||
@@ -334,7 +334,7 @@ _ReleaseCelData (MEM_HANDLE handle)
|
|||||||
int cel_ct;
|
int cel_ct;
|
||||||
FRAMEPTR FramePtr;
|
FRAMEPTR FramePtr;
|
||||||
|
|
||||||
cel_ct = INDEX_GET (DrawablePtr->FlagsAndIndex);
|
cel_ct = INDEX_GET (DrawablePtr->FlagsAndIndex) + 1;
|
||||||
|
|
||||||
FramePtr = &DrawablePtr->Frame[cel_ct];
|
FramePtr = &DrawablePtr->Frame[cel_ct];
|
||||||
while (--FramePtr, cel_ct--)
|
while (--FramePtr, cel_ct--)
|
||||||
|
|||||||
Reference in New Issue
Block a user