]> diplodocus.org Git - nmh/commit
Add NEW(p) that sets p to mh_xmalloc'd memory sized by *p.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 16 Oct 2016 18:38:36 +0000 (19:38 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 16 Oct 2016 18:38:36 +0000 (19:38 +0100)
commit2d5d9e243c91784909b11948894e3ba0989107c0
treedb20240e0338b9777b7740b9e73c70eff8b027a5
parent81c57383273bb818858b2d7e6fdb4bbdb5df70d7
Add NEW(p) that sets p to mh_xmalloc'd memory sized by *p.
Use it for the simple cases.  Again, saves having to check the same
identifier is given, possibly far apart after a superfluous cast.
22 files changed:
h/utils.h
sbr/charstring.c
sbr/context_foil.c
sbr/context_replace.c
sbr/crawl_folders.c
sbr/folder_read.c
sbr/lock_file.c
sbr/m_getfld.c
sbr/netsec.c
sbr/oauth.c
sbr/readconfig.c
sbr/vector.c
uip/aliasbr.c
uip/fmttest.c
uip/install-mh.c
uip/mhbuildsbr.c
uip/mhfixmsg.c
uip/mhparse.c
uip/mhshowsbr.c
uip/mhstoresbr.c
uip/new.c
uip/replsbr.c