revert my last code did miss POLYGONFILL_DestroyEdgeList was at end

svn path=/trunk/; revision=20417
This commit is contained in:
Magnus Olsen 2005-12-29 11:20:30 +00:00
parent 5080674b38
commit 4da89d0391

View file

@ -292,21 +292,6 @@ POLYGONFILL_MakeEdgeList(PPOINT Points, int Count)
return list; return list;
fail: 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"); DPRINT1("Out Of MEMORY!!\n");
POLYGONFILL_DestroyEdgeList ( list ); POLYGONFILL_DestroyEdgeList ( list );