-// Copyright (C) 2010-2014 CEA/DEN, EDF R&D
+// Copyright (C) 2010-2015 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
key->GetRange(data->GetInformation(),dict,0,0,dictSize);
}
if(data == NULL)
- continue;
+ {
+ delete [] dict;
+ continue;
+ }
vtkInformation *info(data->GetInformation());
const char *arrayOffsetName(info->Get(vtkQuadratureSchemeDefinition::QUADRATURE_OFFSET_ARRAY_NAME()));
usgOut->GetPointData()->AddArray(data);
else
shrinked->GetFieldData()->AddArray(data);
+ delete [] dict;
continue;
}
else
}
}
else
- continue ;
+ {
+ delete [] dict;
+ continue ;
+ }
}
delete [] dict;
}