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

memory leak

parent 2bd5649f
Branches
Tags
No related merge requests found
// $Id: 1D_Mesh.cpp,v 1.15 2001-05-20 19:24:53 geuzaine Exp $ // $Id: 1D_Mesh.cpp,v 1.16 2001-05-29 13:26:54 geuzaine Exp $
#include "Gmsh.h" #include "Gmsh.h"
#include "Const.h" #include "Const.h"
...@@ -188,6 +188,8 @@ void Maillage_Curve (void *data, void *dummy){ ...@@ -188,6 +188,8 @@ void Maillage_Curve (void *data, void *dummy){
} }
} }
List_Delete(Points);
v = &c->end; v = &c->end;
if ((vexist = (Vertex **) Tree_PQuery (THEM->Vertices, v))){ if ((vexist = (Vertex **) Tree_PQuery (THEM->Vertices, v))){
(*vexist)->u = c->uend; (*vexist)->u = c->uend;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment