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

stupid

parent 831e4de8
No related branches found
No related tags found
No related merge requests found
// $Id: Vertex.cpp,v 1.16 2001-12-04 12:06:50 geuzaine Exp $ // $Id: Vertex.cpp,v 1.17 2002-02-05 20:13:00 geuzaine Exp $
#include "Gmsh.h" #include "Gmsh.h"
#include "Numeric.h" #include "Numeric.h"
...@@ -99,7 +99,11 @@ void Delete_Vertex ( Vertex *pV ){ ...@@ -99,7 +99,11 @@ void Delete_Vertex ( Vertex *pV ){
} }
void Free_Vertex (void *a, void *b){ void Free_Vertex (void *a, void *b){
Delete_Vertex ( *(Vertex**)a ); Vertex *v = *(Vertex**)a;
if(v){
Delete_Vertex(v);
v = 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