diff --git a/DataStr/Malloc.cpp b/DataStr/Malloc.cpp
index 888dd01ffc0b32e8418c001a38f15f86ef159bdb..fb02765f15ea032221496f02efc7c74488b749d7 100644
--- a/DataStr/Malloc.cpp
+++ b/DataStr/Malloc.cpp
@@ -1,4 +1,4 @@
-// $Id: Malloc.cpp,v 1.7 2001-04-08 20:36:49 geuzaine Exp $
+// $Id: Malloc.cpp,v 1.8 2001-06-07 15:13:08 geuzaine Exp $
 #include <stdio.h>
 #include <stdlib.h>
 #include <malloc.h>
@@ -41,5 +41,4 @@ void Free(void *ptr)
 {
   if (ptr == NULL) return;
   free(ptr);
-  ptr = NULL;
 }
diff --git a/Geo/CAD.cpp b/Geo/CAD.cpp
index ad2b1a916cef741580fedf6b2e0c116b698cbe11..ac1fd5de932f0e512c7c7066986614d1165f10e8 100644
--- a/Geo/CAD.cpp
+++ b/Geo/CAD.cpp
@@ -1,4 +1,4 @@
-// $Id: CAD.cpp,v 1.23 2001-06-07 14:20:08 remacle Exp $
+// $Id: CAD.cpp,v 1.24 2001-06-07 15:13:08 geuzaine Exp $
 
 #include "Gmsh.h"
 #include "Geo.h"
@@ -1656,7 +1656,7 @@ Curve * CreateReversedCurve (Mesh *M,Curve *c){
   
   Curve **pc;
 
-  if(pc = (Curve**)Tree_PQuery(M->Curves,&newc))
+  if((pc = (Curve**)Tree_PQuery(M->Curves,&newc)))
     {
       Free_Curve(&newc,0);
       return *pc;
diff --git a/doc/VERSIONS b/doc/VERSIONS
index 7dab5158e4358eb71fcc328ee5811c59a892747b..344a3e77c7df6d3911567b2dd70d8ba8c9b7d8b0 100644
--- a/doc/VERSIONS
+++ b/doc/VERSIONS
@@ -1,9 +1,9 @@
-$Id: VERSIONS,v 1.19 2001-05-24 10:11:29 geuzaine Exp $
+$Id: VERSIONS,v 1.20 2001-06-07 15:11:11 geuzaine Exp $
 
-New in 1.20: Various bug fixes (Functions in Includes, solver command,
-ColorTable option, ...) and small enhancements (menu reorganization,
-constrained background mesh, mesh visibility options, geometry
-edition, mesh quality histograms, ...)
+New in 1.20: Many memory leak fixes; Various bug fixes (Functions in
+Includes, solver command, ColorTable option, ...) and small
+enhancements (menu reorganization, constrained background mesh, mesh
+visibility options, geometry edition, mesh quality histograms, ...);
 
 New in 1.19: Fixed seg. fault for scalar simplex post-processing; new
 Solver menu; interface for GetDP solver through sockets; fixed