fixed memory leak

This commit is contained in:
ulrikey 2011-10-14 14:32:21 +00:00
parent 99fec2cdfe
commit 87eda39ed1

View File

@ -97,6 +97,7 @@ HYPRE_Int hypre_seqAMGSetup( hypre_ParAMGData *amg_data,
hypre_MPI_Group_incl(orig_group, new_num_procs, ranks, &new_group);
MPI_Comm_create(comm, new_group, &new_comm);
hypre_MPI_Group_free(&new_group);
hypre_MPI_Group_free(&orig_group);
if (num_rows)
{