MESSAGE("vertices->length(): " << vertices->length());
h_data.myEnforcedVertices.clear();
for (int i=0 ; i<vertices->length() ; i++) {
- TEnfVertex* myVertex;
+ TEnfVertex* myVertex = new TEnfVertex();
myVertex->name = CORBA::string_dup(vertices[i].name.in());
myVertex->geomEntry = CORBA::string_dup(vertices[i].geomEntry.in());
myVertex->groupName = CORBA::string_dup(vertices[i].groupName.in());
h_data.myEnforcedVertices.clear();
for (int i=0 ; i<mySmpModel->rowCount() ; i++) {
- TEnfVertex *myVertex;
+ TEnfVertex *myVertex = new TEnfVertex();
myVertex->name = "";
myVertex->geomEntry = "";
myVertex->groupName = "";