mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 09:30:55 +00:00
- free all resources before returning (CID 644)
svn path=/trunk/; revision=37512
This commit is contained in:
parent
9f42dcf72a
commit
e8dde635bf
|
@ -670,7 +670,8 @@ directedLine* MC_partitionY(directedLine *polygons, sampledLine **retSampledLine
|
||||||
if(MC_sweepY(total_num_chains, array, ranges))
|
if(MC_sweepY(total_num_chains, array, ranges))
|
||||||
{
|
{
|
||||||
loopList->deleteLoopList();
|
loopList->deleteLoopList();
|
||||||
free(array);
|
free(array);
|
||||||
|
free(ranges);
|
||||||
*retSampledLines = NULL;
|
*retSampledLines = NULL;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue