Skip to content

Commit

Permalink
Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielPointon committed Apr 17, 2024
1 parent 39abba0 commit c84469b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cliques.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ Obj FuncDigraphsCliquesFinder(Obj self, Obj args) {
}
for (UInt i = 1; i <= exclude_size; ++i) {
if (lookup[INT_INTOBJ(ELM_LIST(exclude_obj, i)) - 1]) {
free(lookup);
return user_param_obj;
}
}
Expand Down

0 comments on commit c84469b

Please sign in to comment.