Skip to content

Commit

Permalink
Fix memory leak
Browse files Browse the repository at this point in the history
Found by: michaelortmann
Patch by: michaelortmann
  • Loading branch information
michaelortmann authored Jan 20, 2025
1 parent 975f60c commit b4e1b96
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 b4e1b96

Please sign in to comment.