Skip to content
Snippets Groups Projects
Commit b2510281 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

free

parent 2b3610aa
No related branches found
No related tags found
No related merge requests found
// $Id: Vertex.cpp,v 1.6 2001-01-24 16:15:31 geuzaine Exp $ // $Id: Vertex.cpp,v 1.7 2001-05-29 13:32:02 geuzaine Exp $
#include "Gmsh.h" #include "Gmsh.h"
#include "Vertex.h" #include "Vertex.h"
...@@ -77,7 +77,13 @@ Vertex *Create_Vertex (int Num, double X, double Y, double Z, double lc, double ...@@ -77,7 +77,13 @@ Vertex *Create_Vertex (int Num, double X, double Y, double Z, double lc, double
void Free_Vertex (void *a, void *b){ void Free_Vertex (void *a, void *b){
Vertex *pV = *(Vertex**)a; Vertex *pV = *(Vertex**)a;
if(pV)Free(pV); if(pV){
List_Delete(pV->ListSurf);
List_Delete(pV->ListCurves);
List_Delete(pV->Extruded_Points);
Free(pV);
pV = NULL ;
}
} }
int compareVertex (const void *a, const void *b){ int compareVertex (const void *a, const void *b){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment