From 46dc176f9e25adf2e91d1cd7c4f6f3ace859aa7d Mon Sep 17 00:00:00 2001 From: Denis Dupeyron Date: Tue, 26 Jul 2005 13:22:41 +0000 Subject: [PATCH] Copy of r208 to trunk, with Rodzilla's benediction. git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@210 4a71c877-e1ca-e34f-864e-861f7616d084 --- crossplatform/src/objmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crossplatform/src/objmem.c b/crossplatform/src/objmem.c index 375eafbcb..37a22ab9f 100644 --- a/crossplatform/src/objmem.c +++ b/crossplatform/src/objmem.c @@ -660,8 +660,8 @@ void removeFlagPosition(FLAG_POSITION *psDel) if (psCurr != NULL) { psPrev->psNext = psCurr->psNext; + HEAP_FREE(psFlagPosHeap, psCurr); } - HEAP_FREE(psFlagPosHeap, psCurr); } }