From 66b7414b8d43873bc049ca0384be196f87f8d4a3 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 7 Jun 2001 15:13:08 +0000 Subject: [PATCH] *** empty log message *** --- DataStr/Malloc.cpp | 3 +-- Geo/CAD.cpp | 4 ++-- doc/VERSIONS | 10 +++++----- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/DataStr/Malloc.cpp b/DataStr/Malloc.cpp index 888dd01ffc..fb02765f15 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 ad2b1a916c..ac1fd5de93 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 7dab5158e4..344a3e77c7 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 -- GitLab