]> granicus.if.org Git - neomutt/commit
unify new/free() functions 1
authorRichard Russon <rich@flatcap.org>
Sat, 31 Aug 2019 12:22:19 +0000 (13:22 +0100)
committerRichard Russon <rich@flatcap.org>
Sun, 1 Sep 2019 16:37:02 +0000 (17:37 +0100)
commitb48ed482a9252c9227ae318ff1364b74612e6666
tree127a34ef18bfada527b5dab922252ef10654618e
parentc3a2bf5a42a6461e1b01441477af5f06ac334fc1
unify new/free() functions 1

- Name ends in `_free()`
- Take a `**ptr`
- Creates a native pointer
- Sets pointer to `NULL`

Functions changed:
- cs_free()
- mailcap_entry_free()
- mutt_addr_free()
- mutt_alias_free()
- mutt_alias_new()
- mutt_body_free()
- mutt_enter_state_free()
- mutt_env_free()
- mutt_seqset_iterator_free()
- nntp_edata_free()
- query_free()
- remailer_free()
- remailer_new()
19 files changed:
address/address.c
address/address.h
alias.c
alias.h
config/set.c
config/set.h
email/body.c
email/body.h
email/envelope.c
email/envelope.h
enter.c
enter_state.h
imap/imap_private.h
imap/util.c
mailcap.c
mailcap.h
nntp/nntp.c
query.c
remailer.c