[ros-diffs] [greatlrd] 20417: revert my last code did miss
POLYGONFILL_DestroyEdgeList was at end
greatlrd at svn.reactos.org
greatlrd at svn.reactos.org
Thu Dec 29 15:48:54 CET 2005
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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051229/74b0f4a3/attachment.html
More information about the Ros-diffs
mailing list