Oops fix for r3345: should not leak FRAMEs
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3346 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -275,6 +275,8 @@ DoDiscoveryReport (SOUND ReadOutSounds)
|
||||
if (ownContext)
|
||||
DestroyContext (context);
|
||||
|
||||
DestroyDrawable (ReleaseDrawable (saveStamp.frame));
|
||||
|
||||
UnlockMutex (GraphicsLock);
|
||||
WaitForNoInput (WAIT_INFINITE, TRUE);
|
||||
LockMutex (GraphicsLock);
|
||||
|
||||
Reference in New Issue
Block a user