From: Ralph Corderoy Date: Fri, 21 Oct 2016 23:18:54 +0000 (+0100) Subject: Replace `if (p) free(p)' with `mh_xfree(p)'. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/a58b23ecafe1c422966816938dda471a9cfd8ad0 Replace `if (p) free(p)' with `mh_xfree(p)'. --- diff --git a/sbr/encode_rfc2047.c b/sbr/encode_rfc2047.c index 2c8a3f0d..aff04c81 100644 --- a/sbr/encode_rfc2047.c +++ b/sbr/encode_rfc2047.c @@ -798,11 +798,8 @@ do_reformat: output = NULL; out: - - if (tmpbuf) - free(tmpbuf); - if (output) - free(output); + mh_xfree(tmpbuf); + mh_xfree(output); return errflag > 0; }