From 09e58b6cf431ce2e3b63fb009842dbfdf8f38f94 Mon Sep 17 00:00:00 2001 From: mcmartin Date: Sat, 3 May 2003 17:10:39 +0000 Subject: [PATCH] Fixes the memory leak problem with UninitShips's aliases git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@944 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/graphics/sdl/3do_getbody.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sc2/src/sc2code/libs/graphics/sdl/3do_getbody.c b/sc2/src/sc2code/libs/graphics/sdl/3do_getbody.c index d19c73dfe..f1ed32329 100644 --- a/sc2/src/sc2code/libs/graphics/sdl/3do_getbody.c +++ b/sc2/src/sc2code/libs/graphics/sdl/3do_getbody.c @@ -524,6 +524,7 @@ _ReleaseCelData (MEM_HANDLE handle) } } HFree (DrawablePtr->Frame); + DrawablePtr->Frame = NULL; } UnlockDrawable (handle);