Author: khornicek
Date: Fri Nov 21 08:20:54 2008
New Revision: 37512
URL:
http://svn.reactos.org/svn/reactos?rev=37512&view=rev
Log:
- free all resources before returning (CID 644)
Modified:
trunk/reactos/dll/win32/glu32/libnurbs/nurbtess/monoChain.cc
Modified: trunk/reactos/dll/win32/glu32/libnurbs/nurbtess/monoChain.cc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/glu32/libnurbs/n…
==============================================================================
--- trunk/reactos/dll/win32/glu32/libnurbs/nurbtess/monoChain.cc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/glu32/libnurbs/nurbtess/monoChain.cc [iso-8859-1] Fri Nov 21
08:20:54 2008
@@ -670,7 +670,8 @@
if(MC_sweepY(total_num_chains, array, ranges))
{
loopList->deleteLoopList();
- free(array);
+ free(array);
+ free(ranges);
*retSampledLines = NULL;
return NULL;
}