Skip to content

Commit

Permalink
Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelortmann committed Jan 8, 2025
1 parent 0f5599e commit c9ffe30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/userrec.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ void clear_masks(maskrec *m)
temp = m->next;
if (m->mask)
nfree(m->mask);
if (m->user)
nfree(m->user);
if (m->desc)
nfree(m->desc);
nfree(m);
Expand Down

0 comments on commit c9ffe30

Please sign in to comment.