Skip to content

Commit 9098b43

Browse files
committed
fix: add missing free
1 parent 117ca9c commit 9098b43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

experimental/algorithm/LAGraph_CFL_reachability_multsrc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ GrB_Info LAGraph_CFL_reachability_multsrc
425425

426426
// M[i, j] == 1 => A[j, j] == 1
427427
GRB_TRY(GrB_vxm(a, GrB_NULL, GrB_NULL, GxB_ANY_PAIR_BOOL, ones_vec, M, GrB_NULL));
428+
GrB_Matrix_free(&A);
428429
GRB_TRY(GrB_Matrix_diag(&A, a, 0));
429430

430431
// #ifdef DEBUG_CFL_REACHABILITY

0 commit comments

Comments
 (0)