]> diplodocus.org Git - nmh/commit
Add mh_xfree(), guarding free(3) from NULLs.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 16 Oct 2016 17:21:15 +0000 (18:21 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 16 Oct 2016 17:21:15 +0000 (18:21 +0100)
commit74eecc059657dc9d93ef1a4da6372c7c15b91892
tree01a1077e38da74bad09148d78fbc6a8720bac5da
parent3910a511d4d9ad19e5eeff769881f4e52f498947
Add mh_xfree(), guarding free(3) from NULLs.
Perhaps all nmh's platforms cope with free(3) these days, but it gives
symmetry with the other mh_x* memory functions and if there is code
testing the pointer before calling free then it can use this instead.
h/utils.h
sbr/utils.c