Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
Remove accidental duplication of free_mdata().
  • Loading branch information
flatcap committed Mar 20, 2020
1 parent a42cda0 commit 91aadc5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/mailbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ void mailbox_free(struct Mailbox **ptr)
return;

struct Mailbox *m = *ptr;
if (m->mdata && m->free_mdata)
m->free_mdata(&m->mdata);

mailbox_changed(m, NT_MAILBOX_CLOSED);

Expand Down

0 comments on commit 91aadc5

Please sign in to comment.