From ba64d88e26ad6557982213e8c90009ac1014a755 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 4 May 2008 09:01:19 +0000 Subject: [PATCH] *** empty log message *** --- Geo/GModel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index 9713b0535f..c83d5d436c 100644 --- a/Geo/GModel.cpp +++ b/Geo/GModel.cpp @@ -1,4 +1,4 @@ -// $Id: GModel.cpp,v 1.87 2008-05-04 08:31:13 geuzaine Exp $ +// $Id: GModel.cpp,v 1.88 2008-05-04 09:01:19 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -60,13 +60,13 @@ GModel::~GModel() std::vector<GModel*>::iterator it = std::find(list.begin(), list.end(), this); if(it != list.end()) list.erase(it); + destroy(); + #if !defined(HAVE_GMSH_EMBEDDED) _deleteGEOInternals(); _deleteOCCInternals(); delete _fields; #endif - - destroy(); } GModel *GModel::current(int index) -- GitLab