And a memory leak fix for the case when Reduce takes the "no-reduce" shortcut.
--
Randall Hopper (mailto:[EMAIL PROTECTED])
EPA Scientific Visualization Center
US EPA MD/24 ERC-1A; RTP, NC 27711
--- src/exec/dxmods/ORIG/reduce.c Mon May 10 11:45:29 1999
+++ src/exec/dxmods/reduce.c Wed Aug 23 20:18:27 2000
@@ -274,7 +274,11 @@
}
if (nFactors == 1 && maxFactor == 1.0)
+ {
+ for (i = 0; i < nFactors; i++)
+ DXDelete((Object)plist[i]);
return input;
+ }
template = DXCopy(input, COPY_STRUCTURE);
if (! template)