From 4fa963e4e57762c48732f4514660d7d4cf3b6682 Mon Sep 17 00:00:00 2001 From: avolkov Date: Mon, 23 Nov 2009 11:08:44 +0000 Subject: [PATCH] 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 --- sc2/src/uqm/planets/report.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sc2/src/uqm/planets/report.c b/sc2/src/uqm/planets/report.c index e0cfba396..da5e7d17d 100644 --- a/sc2/src/uqm/planets/report.c +++ b/sc2/src/uqm/planets/report.c @@ -275,6 +275,8 @@ DoDiscoveryReport (SOUND ReadOutSounds) if (ownContext) DestroyContext (context); + DestroyDrawable (ReleaseDrawable (saveStamp.frame)); + UnlockMutex (GraphicsLock); WaitForNoInput (WAIT_INFINITE, TRUE); LockMutex (GraphicsLock);