- fix freeing of resources, CID 1295 run 2
authorKamil Hornicek <kamil.hornicek@reactos.org>
Fri, 21 Nov 2008 09:45:54 +0000 (09:45 +0000)
committerKamil Hornicek <kamil.hornicek@reactos.org>
Fri, 21 Nov 2008 09:45:54 +0000 (09:45 +0000)
- don't redefine _WIN32_WINNT

svn path=/trunk/; revision=37502

reactos/dll/win32/glu32/include/gluos.h
reactos/dll/win32/glu32/libnurbs/interface/insurfeval.cc

index 755e8b6..8704141 100644 (file)
@@ -40,7 +40,6 @@
 #define NOIME
 #define NOMINMAX
 
-#define _WIN32_WINNT 0x0400
 #ifndef STRICT
   #define STRICT 1
 #endif
index 4cfd021..e0ccdab 100644 (file)
@@ -1533,8 +1533,8 @@ void OpenGLSurfaceEvaluator::inEvalVStrip(int n_left, REAL u_left, REAL* left_va
     }
   //clean up 
   free(leftXYZ);
-  free(leftXYZ);
-  free(rightNormal);
+  free(rightXYZ);
+  free(leftNormal);
   free(rightNormal);
 }