Skip to content

Commit

Permalink
Updated LG_FREE_ALL
Browse files Browse the repository at this point in the history
Added all variables to be freed by LG_FREE_ALL
  • Loading branch information
Olumayowa-Olowomeye committed Dec 5, 2024
1 parent 0815048 commit baa2c17
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion experimental/algorithm/LAGraph_Louvain2.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,21 @@
GrB_free (&k) ; \
GrB_free (&x) ; \
GrB_free (&v) ; \
GrB_free (&srxq) ; \
GrB_free (&sr) ; \
GrB_free (&q1) ; \
GrB_free (&t) ; \
GrB_free (&t_q) ; \
GrB_free (&Theta) ; \
GrB_free (&Semiring) ; \
GrB_free (&Mon) ; \
GrB_free (&Tuple) ; \
GrB_free (&dS) ; \
GrB_free (&dSk) ; \
GrB_free (&vtS) ; \
GrB_free (&temp) ; \
GrB_free (&y_rand) ; \
GrB_free (&max_q1) ; \
}
#define DEBUG 0

Expand Down Expand Up @@ -119,7 +125,6 @@ int LAGraph_Louvain2(
GrB_Vector k = NULL ;
GrB_Vector x = NULL ;
GrB_Vector z = NULL ;
GrB_Index *coor = NULL;
GrB_Index n,b;
GrB_Matrix S = NULL;
GrB_Vector sr = NULL;
Expand Down

0 comments on commit baa2c17

Please sign in to comment.