Ignore:
Timestamp:
08/20/10 13:52:13 (15 years ago)
Author:
Mathieu Morlighem
Message:

Fixed leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Loads/Numericalflux.cpp

    r5452 r5454  
    564564        }
    565565       
    566         /* Get node coordinates, dof list and normal vector: */
     566        /* Get node coordinates and normal vector: */
    567567        GetVerticesCoordinates(&xyz_list[0][0], nodes, numgrids);
    568         GetDofList(&doflist);
    569568        GetNormal(&normal[0],xyz_list);
    570569
     
    583582                return;
    584583        }
     584
     585        /*Get dof list*/
     586        GetDofList(&doflist);
    585587
    586588        /* Get gaussian points and weights (make this a statically initialized list of points? fstd): */
     
    713715        thickness_input=tria->inputs->GetInput(ThicknessEnum);
    714716
    715         /* Get node coordinates, dof list and normal vector: */
     717        /* Get node coordinates and normal vector: */
    716718        GetVerticesCoordinates(&xyz_list[0][0], nodes, numgrids);
    717         GetDofList(&doflist);
    718719        GetNormal(&normal[0],xyz_list);
    719720
     
    726727                return;
    727728        }
     729
     730        /*Get dof list*/
     731        GetDofList(&doflist);
    728732
    729733        /* Get gaussian points and weights (make this a statically initialized list of points? fstd): */
Note: See TracChangeset for help on using the changeset viewer.