From 4da89d0391cc5d47f13086931ed802a9a4149e48 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Thu, 29 Dec 2005 11:20:30 +0000 Subject: [PATCH] revert my last code did miss POLYGONFILL_DestroyEdgeList was at end svn path=/trunk/; revision=20417 --- reactos/subsys/win32k/objects/polyfill.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/reactos/subsys/win32k/objects/polyfill.c b/reactos/subsys/win32k/objects/polyfill.c index de1fd212c3e..ddc9b356ad3 100644 --- a/reactos/subsys/win32k/objects/polyfill.c +++ b/reactos/subsys/win32k/objects/polyfill.c @@ -292,21 +292,6 @@ POLYGONFILL_MakeEdgeList(PPOINT Points, int Count) return list; fail: - if (list != NULL) - { - EngFreeMem(list); - } - - if (list->Edges != NULL) - { - int t; - for (t=0; Count;t++) - { - if (list->Edges[t] != NULL) - EngFreeMem(list->Edges[t]); - } - EngFreeMem(list->Edges); - } DPRINT1("Out Of MEMORY!!\n"); POLYGONFILL_DestroyEdgeList ( list );