mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 01:35:43 +00:00
revert my last code did miss POLYGONFILL_DestroyEdgeList was at end
svn path=/trunk/; revision=20417
This commit is contained in:
parent
5080674b38
commit
4da89d0391
1 changed files with 0 additions and 15 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue