mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
revert my last code did miss POLYGONFILL_DestroyEdgeList was at end
svn path=/trunk/; revision=20417
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user