Author: khornicek
Date: Fri Nov 21 03:45:54 2008
New Revision: 37502
URL:
http://svn.reactos.org/svn/reactos?rev=37502&view=rev
Log:
- fix freeing of resources, CID 1295 run 2
- don't redefine _WIN32_WINNT
Modified:
trunk/reactos/dll/win32/glu32/include/gluos.h
trunk/reactos/dll/win32/glu32/libnurbs/interface/insurfeval.cc
Modified: trunk/reactos/dll/win32/glu32/include/gluos.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/glu32/include/gl…
==============================================================================
--- trunk/reactos/dll/win32/glu32/include/gluos.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/glu32/include/gluos.h [iso-8859-1] Fri Nov 21 03:45:54 2008
@@ -40,7 +40,6 @@
#define NOIME
#define NOMINMAX
-#define _WIN32_WINNT 0x0400
#ifndef STRICT
#define STRICT 1
#endif
Modified: trunk/reactos/dll/win32/glu32/libnurbs/interface/insurfeval.cc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/glu32/libnurbs/i…
==============================================================================
--- trunk/reactos/dll/win32/glu32/libnurbs/interface/insurfeval.cc [iso-8859-1]
(original)
+++ trunk/reactos/dll/win32/glu32/libnurbs/interface/insurfeval.cc [iso-8859-1] Fri Nov 21
03:45:54 2008
@@ -1533,8 +1533,8 @@
}
//clean up
free(leftXYZ);
- free(leftXYZ);
- free(rightNormal);
+ free(rightXYZ);
+ free(leftNormal);
free(rightNormal);
}