revert my last code did miss POLYGONFILL_DestroyEdgeList was at end
Modified: trunk/reactos/subsys/win32k/objects/polyfill.c

Modified: trunk/reactos/subsys/win32k/objects/polyfill.c
--- trunk/reactos/subsys/win32k/objects/polyfill.c	2005-12-29 11:16:28 UTC (rev 20416)
+++ trunk/reactos/subsys/win32k/objects/polyfill.c	2005-12-29 11:20:30 UTC (rev 20417)
@@ -292,22 +292,7 @@
   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 );
   return 0;