Skip to content

Commit

Permalink
Close silly memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Apr 24, 2011
1 parent c08792a commit c910141
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/fs/mesh/interface/mesh.c
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,6 @@ dErr dMeshRestoreAdjacency(dMesh dUNUSED mesh,dMeshESH set,dMeshAdjacency *inma)
dValidHeader(mesh,dMESH_CLASSID,1);
dValidPointer(inma,3);
ma = *inma;
*inma = 0;
if (set != ma->set) dERROR(PETSC_COMM_SELF,1,"Adjacency for the wrong set");
err = dMeshTagDestroy(mesh,ma->indexTag);dCHK(err);
err = dFree3(ma->ents,ma->adjoff,ma->topo);dCHK(err);
Expand Down

0 comments on commit c910141

Please sign in to comment.